/snAIke

Using a genetic algorithm to teach a computer how to play snake

Primary LanguagePythonMIT LicenseMIT

SnAIke

A demonstration of a genetic algorithm where the computer learns to play snake.

Requirements

  • Python >= 3

NOTE: If on MacOS Mojave, 3 <= Python < 3.7

Installation

pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python3 -m src.main