This is a simple example project to learn Python development. The initial idea was to have a real life example to implement a fully fledged python project, including packages, modules, tests, mocks and at least documentation based on ASCII-Doc.
During development, I noticed that it would be nice to have graphical interpretation of the ant’s run on the grid.
For that purpose I implemented a simple visualization using pygame engine.
Details can be found here
$ python main.py
You will be presented a square window of 800 pixels each dimension. The grid the ant knows about is dynamically created within this viewport. The following key commands are available
|
Close window and exit simulation |
|
Pause simulation |
|
Increase framerate |
|
Decrease framerate |