During the Artificial Intelligence course we have studied a particular set of games which have the following characteristics:
Typical perfect knowledge games are draughts, chess, etc... while typical imperfect knowledge games are the cards one like poker, bridge, etc...
It's possible to describe a game sequence by a tree called states' space, in which every node represents a game state. It starts from an initial state in which is established the player that has the right to move. The player performs a move reaching the successive state in which the right to move passes to the other player. So on till the reaching of the final state: a leaf of the states' space tree in which isn't possible any other move.
A typical approach to solve a game consist in a search in the states' space tree performed by algorithms. During the course we have studied the MIN-MAX algorithm and the Tagli Alfa-Beta one.
In this report we have implemented the Tagli Alfa-Beta in Java language.
The verify of the correctness of the implementation has be performed on exercises of some exam sessions complete with solution.
Download the documentation about the Alfa-Beta Cuts algorithm:
intelligenza_artificiale_tesina.pdf
684kB
Download the java source code about the Alfa-Beta Cuts algorithm:
intelligenza_artificiale_tesina.jar
174kB
Copyright © 2003, 2008 Tarin Gamberini
Last updated 20/01/2008