An attempt at creating a pet program.
See post for more info on project.
To run the code, python main.py
Inside main.py, you can see the 'directory' value to set. This should be the path to the code.
Inside EmotiveCircle.py, you can see the following important values which can be set:
bg_colour
: colour of living cellsc1_colour
: colour of center circlec2_colour
: colour of the heartbeat circle (also has opacity value)ball_colour
: colour of the balldt
: the time step size
When using the program, the following operations are available:
- left-click on left edge of screen: show/hide info
- left-click inside circle: feed
- move cursor over top or bottom of circle: comfort/pet
- move cursor over left or right of circle: poke/annot
- tab: clear goal points
- right click: add goal point to sequence
- the pet will only play with the ball when hunger is below a certain threshold