Coder Social home page Coder Social logo

doodle-jump's People

Contributors

fabian-sommer avatar marcelja avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

doodle-jump's Issues

Platforms

  • add other platform types
  • increase number of platforms

Fix memory leak

Currently, networks are never deleted, taking up a lot of memory quickly.

Call gameOver() for games that do not make progress

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)

Adjust number of neurons

  • Adjust number of input neurons, depending on input
  • Play around with number of neurons in hidden layer
  • 3 output neurons, one for each class

Presentation

  • gainings
  • different fitness function discussion
  • screen recording for each fitness function and explain
  • describe mutation, selection
  • future work: bonuses and stuff

send slides for comments

Documentation

Let's write down our findings (especially concerning the fitness function) at some point for the final report.

Fitness function

Lets think about a cool fitness function + don't penalize manually :

height/time -> not so good

height²/time ?

norm(height) - norm(time) ?

Fitness Function comparison

Goncalo suggested to start with the same network multiple times (100x or so) and observe how networks develop.

Reduce number of inputs

  • reduce number input platforms
  • sort input platforms by height depending on player's position

Speed up learning process

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).

View improvement

  • make it clearly visible which network plays which game
  • fix css -> breaks when zooming

Less games

use less games for training (like 4 to 8)

Mutation Rate

Goncalo suggested to increase the mutation rate. I think we should play around with that.

Best player

Even though Goncalo recommended not to use the best overall player, let's try this out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.