Developer Guides
In this section is explained the entire game for developers. Here you can learn how to getting started contributing and add features or unit testing.
Start here: Getting Started.
Then learn how to contribute on many common things like game assets.
Learn how to contribute to unit testing and bug fixing to make this game a better game.
Game Cycle
The game cycle is composed by following stages:
- Screen cleaning
- System label writing
- Events managing
- Ruler updates
- Tower updates a. Tower sprite updates b. Controlled soldiers updates
- Other soldiers updates
- Blit all and flip
This structure has to be reported in the code, in the def game_cycle(self) -> bool:
function.
Game Structure
─> Ruler
|
└─> Tower
|
├─> Soldiers controlled by tower
| |
| └─> Soldier
| └─> Soldier
|
└─> Routes
|
└─> Destination