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

Latest commit

 

History

History
16 lines (12 loc) · 930 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 930 Bytes

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.