# How to get an electronic pet (Halloween special)
There are many games to keep cute and vivid creatures for pets. Would you want to create your own electronic pet through programming? Follow this # How to , learn how to program a game.
Now, Let's Design an “Electronic Pet”
Program Carrier
Achieving Goals
--Animating the electronic pet;
--Shaking the pet makes it nervous;
--Using the joystick to move the pet on the screen.
Coding Time
Animate It Next
For example, the animated avatar on the left is actually achieved through the alternating appearance of two images, also known as the "persistence of vision".