/snake-ai

Solving the game of Snake with evolution

Primary LanguageHTMLMIT LicenseMIT

Build Status

snake-ai

Credits to https://github.com/pbinggeser/snake-ai

Quick Start

git clone https://github.com/murugaratham/snake-ai.git

npm install && npm start

Solving the game of Snake with Genetic Algorithm

Original project by Peter Binggeser didn't have much documentation or comments. I am taking this opportunity to take this repo as a self-learning platform where i will explore the following

  • TypeScript
  • JSX/TSX
  • TSLint
  • Github pages
  • Redux
  • Responive web (Material-Ui/Bootstrap)
  • Visualize the Neural Network (NN), click on any of the snake, the NN will be drawn on screen, hover over nodes & connections to view the weights & functions etc
  • Rehydrate reducers
  • Persisting trained snakes in indexedDB Dexie for best trained (50 in indexedDB, 50 randomly mutated snake) brain & optionally letting users to load
  • Machine learning - This project uses neataptic
  • Webpack analyzer npm run analyze will show you what's being packed, and who's taking up most of the space
  • Travis CI
  • More coming...