Skip to content

orel33/ants

Repository files navigation

Ant Colony Simulation

This is a simple Ant Colony Simulation game written in Python 3, based on the PyGame library. It is largely inspired by previous work of Fabrice Rossi.

Download & Install

First clone the project available on GitHUB under GPL:

git clone https://github.com/orel33/ants

To install Python (root privilege required):

sudo apt get install python3 pip3

To install the PyGame module and other useful modules (user privilege enough):

pip3 install pygame colour bresenham

To start the game:

./main.py

Known Bugs

There is a known bug in the pygame.mixer module, which causes high CPU usage, when calling pygame.init(). A workaround is to disable the mixer module, pygame.mixer.quit() or not to enable it, by using pygame.display.init() and pygame.font.init() instead. Consequently, there is no music, no sound :-(

Documentation

About

Ant Colony Simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages