- 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
Unity Editor 基本用法:
1) Scene view, Hierarchy view, Inspector view, Project view
2) Add / Move / Rotate / Scale game object
3) Run game