My task is to create a simple, 2D, view from above car racing game. The only goal in this game to achieve the best result in time as possible. The player can wheel the car and can speed up or slow down. If the player goes out from the race track, the game is over.
It is simple at this point, but the game also has an AI. The goal of the AI is to learn the "optimal" tracing on the track, based on the the past tracings of the human player.
I'm considering some functions, these can be used as training sets:
Of course other functions or information can be useful.
What learning methods can is use to produce a valid track. My goal is not to beat the human player, but to only get to the end of the track. :)
I am mostly just brainstorming here, but:
as I understand, your situation is something like this:
In this case, a very simple model is as follows:
So you have a set of input features and a decision problem.
(these are not concrete implementation ideas, that depends on what you are choosing)
Choice heavily depends on what tools are you using (Matlab, C++, Python, etc) and which learning algorithm are you familiar with. I suggest choose the one you know the best, and try to fit a model to that.
Maybe you could try a Neural Net?
"In most cases a neural network is an adaptive system changing its structure during a learning phase. Neural networks are used for modeling complex relationships between inputs and outputs or to find patterns in data."
http://en.wikipedia.org/wiki/Artificial_neural_network
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With