To impress two (german) professors i try to improve the game theory.
AI in Computergames. Game Theory: Intelligence is a well educated proven Answer to an Question. This means a thoughtfull decision is choosing an act who leads to an optimal result.
Question -> Resolution -> Answer -> Test (Check)
For Example one robot is fighting another robot. This robot has 3 choices:
-move forward
-hold position
-move backward
The resulting Programm is pretty simple
randomseed = initvalue;
while (one_is_alive)
{
choice = randomselect(options,probability);
do_choice(roboter);
}
We are using pseudorandomness.
The test for success is simply did he elimate the opponent. The robots have automatically shooting weapons :
struct weapon
{
range
damage
}
struct life
{
hitpoints
}
Now for some Evolution.
We let 2 robots fight each other and remember the randomseeds. What is the sign of a succesfull Roboter ?
struct {
ownrandomseed;
list_of_opponentrandomseed; // the array of the beaten opponents.
}
Now the question is how do we choose the right strategy against an opponent ? We assume we have for every possible seed-strategy the optimal anti-strategy. Now the only thing we have to do is to observe the numbers from the opponent and calculate his seed value.Then we could choose the right strategy.
For cracking the random generator we can use the manual method : http://alumni.cs.ucr.edu/~jsun/random-number.pdf
or the brute Force : https://jazzy.id.au/2010/09/20/cracking_random_number_generators_part_1.html