This is the idea behind Nybble, a small robotic kitty whose mobility is driven by an Arduino-compatible micro-controller. Although Nybble comes with some pre-programmed “muscle memory” movements, you can also program the robo-pet's cat-like behaviors yourself. Nybble’s creator, Rongzhong Li, recommends that you connect Nybble to an AI chip such as a Raspberry Pi, and code whatever tricks you desire from your silicon feline companion.
Like Nybble, you can also build your own walking Robot using the kit Quadrino, in this level you will get an understanding of how a Robot can walk, you will learn the concepts of framing algorithm and applying them in real time. By learning this level, you will understand the basics of walking Robot, using this you can go ahead and build a Robot Pet.