A small side project to use a genetic learning algorithm and neural networks to train a computer to play the retro arcade game Asteroids
-
Install Dependencies
pip install .
-
Run Project
python main.py
To package the project into an executable pyinstaller is required:
pip install pyinstaller
You can then pacakge the program by running:
pyinstaller --onefile main.py
This will create an executable in the dist/ directory
To allow for easy instancing, this project is structured to be object oriented. The classes are organized as follows:
├── Game
│ ├── Ship
│ │ ├── NeuralNet
│ │ └── Bullet
│ └── Asteroid