Code created starting from ryesalvador/tamagotchi.py.
This is what was changed:
- Divide code on logic vs code on GUI.
- Use state machine to model creature's behavior.
- Use object-oriented paradigm.
- Change icons.
- Add light on/off feature
Code created starting from ryesalvador/tamagotchi.py.
This is what was changed: