marcelja / doodle-jump Goto Github PK
View Code? Open in Web Editor NEWA genetic algorithm that learns doodle jump
A genetic algorithm that learns doodle jump
Let the player play multiple different games within the same generation.
We should alter the fitness function for that
Currently, networks are never deleted, taking up a lot of memory quickly.
Generation
Score
Otherwise a single instance that jumps on one platform without moving left/right will prevent us from getting to the next generation.
Note that in such cases, the score may still slightly increase (maybe a bug in the game that should be fixed)
send slides for comments
Let's write down our findings (especially concerning the fitness function) at some point for the final report.
Lets think about a cool fitness function + don't penalize manually :
height/time -> not so good
height²/time ?
norm(height) - norm(time) ?
Goncalo suggested to start with the same network multiple times (100x or so) and observe how networks develop.
Let's try, if we can speed up learning by using nodejs or something like that. Also, pay attention to resource usage (updating the dom, storing data, etc).
Player appears on the other side of the game, if it hits left/right bound -> Disable that
Right now, when attempting to jump on a platform, the input parameter positions representing the platform are changing multiple times mid-jump or even disappearing completely. That should only happen after a jump was completed.
use less games for training (like 4 to 8)
Would be quite nice to export models.
Goncalo suggested to increase the mutation rate. I think we should play around with that.
Display top players on top of the html page.
Disable rendering in order to improve learning speed
Even though Goncalo recommended not to use the best overall player, let's try this out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.