maxcaplan / GeneticAsteroids

A small side project to use a genetic learning algorithm and neural networks to train a computer to play the retro arcade game Asteroids

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeneticAsteroids

A small side project to use a genetic learning algorithm and neural networks to train a computer to play the retro arcade game Asteroids


Setup:

  1. Install Dependencies

    pip install .
  2. Run Project

    python main.py

Building:

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


Project Architecture:

To allow for easy instancing, this project is structured to be object oriented. The classes are organized as follows:

├── Game
│       ├── Ship
│       │       ├── NeuralNet
│       │       └── Bullet
│       └── Asteroid

About

A small side project to use a genetic learning algorithm and neural networks to train a computer to play the retro arcade game Asteroids

License:MIT License


Languages

Language:Python 100.0%