Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.
/ Asteroids-Evolution Public archive

Genetic Algorithm for Space Ships to dodge Asteroids

License

Notifications You must be signed in to change notification settings

BlueDi/Asteroids-Evolution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evolution - Genetic Algorithm for Space Ships

Codacy Badge BCH compliance

Goal

The ships have to dodge asteroids while trying to catch food.

Every generation:

  • The best ones, the elite, will be replicated to the next generation;
  • All the other ships will be children of the previous generation, including the elite;
  • The ships of the new generation, except the elite, have a probability to mutate.

Instructions

On click create an asteroid.

Press 'Space' to turn on/off Debug. With Debug activated you'll see output on the console about the generations of ships.