- game: id, weights (for features), score
- DATA var contains all games for current generation
- ALL_DATA var contains an array of DATA for all generations for 1 specific RUN
- RUN: 1 genetic algorithm test, stores parameters for genetic algorithm (mutation rate, retain rate, etc )
- ALL_RUNS var contains array of all previous RUNS, stored in localStorage
- You can close your browser at any time, as all data is stored in localStorage. When you reopen the browser, it will continue at the last successful generation completed
kdedakia / tetris Goto Github PK
View Code? Open in Web Editor NEWGenetic Algorithm AI for Tetris