Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dinosaur Doesn't Jump Or Duck #29

Open
kelvinkellner opened this issue Oct 19, 2016 · 1 comment
Open

Dinosaur Doesn't Jump Or Duck #29

kelvinkellner opened this issue Oct 19, 2016 · 1 comment

Comments

@kelvinkellner
Copy link

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.

@lesander
Copy link

[...] 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants