GithubHelp home page GithubHelp logo

car-game's People

Contributors

matthiasvegh avatar petersohn avatar r0mai avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

car-game's Issues

Neural network results should be stored in a more unique filename.

If I train the network on say track A, and then start working on a new track called B, I would like to be able to keep the results from track A. A configurable output file seems ideal, but as a default, perhaps instead of best.car the results could be stored in best.car.TRACKNAME

Cheers.

Specify limits for AI training from CLI parameters

I would like to be able to limit the time needed for training the AI, by way of a command line switch such as:

--run-time=DURATION
--generation-count=NUM
--fitness=NUM

Either of these would be okay, just a mechanism to be able to batch run training jobs without needing an interactive ^C.

Cheers.

Lua calls are not thread safe

Currently only single threaded mode works because of this. Possible solutions:

  1. Lock Lua class.
  2. Move fitness calculation to main thread.
  3. Use one lua interpreter on each thread.

Remove all drawing functions from Model

Drawing functions should not belong to the class Model. It is a bad separation of responsibility. Drawing functions should all got to RealTimeGameManager, or any other classes instantiated only by RealTimeGameManager.

Lua sometimes raises memory errors

Not yet fully reproduced, but it is suspected that it comes up only when the debug output is switched on for fitness calculation, i.e. when the calculator function returns with not only a number but a number and a string.

Make window scale with track

If I have a track which is say 1000 units wide and 1000 units tall, the window should be able to zoom out to fit the entirety of the track on the frame. Currently it seems to me, that the window zoom is fixed.

An alternative to making the window scale, is to scale the track itself, however distances may not be accurate if we scale the track down.

Cheers.

Track builder tools should have a scale function.

Say I defined a track with points:

0, 0;
1, 0;
1, 1;
0, 1.

In this case, the circumference is 4, however this may be modeled after a real-life track, for which the circumference is known to be (say) 40. In this case we need to scale the points in the track by a factor of Sqrt[40/4].

This would be helpful in creation of real-life tracks.

Cheers.

Be able to continue AI training.

I would like to be able to run the ai training for a limited time, interrupt the training, then be able to continue from where it left off. This would prove useful to be able to create snapshots for the AI, or for continuing training on a different track.

For instance if the first round of training runs until generation X, then the training shouldn't necessarily start from scratch.

Cheers.

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.