- Pygame lifecycle
- Game loop: event handling, change state, rendering
- Snake game demo
- Object oriented programming (OOP)
Source: https://github.com/learn10kYear/snake-game/blob/master/app.py
愚者千慮,必有一得
Source: https://github.com/learn10kYear/snake-game/blob/master/app.py