|
Game Tree structure | The game tree at start | use | application
The
game tree at start:
The first level of the tree is the empty board.
The second level contains every possible move by the first player.
The third level contains every possible counter move for all the moves possible
at the second level. This goes on until every possible position is set. And
a winner or loser is know.
Use:
Implementing a game tree is a straightforward solution for 2 player games where
the computer is playing.
Applications:
TicTacToe: For games like chess or go the game tree can be ENORMOUS.
This is why our example is the simple game tictactoe instead of for example.
checkers
A.I.: The Artificial
Inteligence of a player, is often indirectly equal to the depth of the gametree.
But Game trees are just one step behind decision trees which are used in AI
research. Here instead of winning a game it needs to decide which way is better
to complete the given task. Ultematly the computer guesses (if the tree is not
completly calculated) the best possible move using the partial tree.