IAMDinosaur
IAMDinosaur copied to clipboard
Dinosaur Doesn't Jump Or Duck
After finally figuring out how to set everything up, and running the index.js file and pressing s, the dinosaur doesn't actually jump or duck. It just walks right into the first cactus, loses, then restarts again, and it keeps doing it over again.
[...] the dinosaur doesn't actually jump or duck. It just walks right into the first cactus, loses, then restarts again, and it keeps doing it over again.
That's the whole point of this AI. By 'dying over and over again', the AI learns that the genome it used was ineffective, and will evolve from that to something new (mutate), and then try again.
After hundreds of 'generations', there is a chance that a good genome will be able to play the game better than you ;)
I recommend you to watch the video of @ivanseidel on YouTube (with English subtitles) https://www.youtube.com/watch?v=P7XHzqZjXQs&feature=youtu.be
The ninja genome can be found at: https://github.com/ivanseidel/IAMDinosaur/blob/master/genomes/ninja.json