Skip to content

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

Notifications You must be signed in to change notification settings

maxcaplan/GeneticAsteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages