NXT Connect 4 Robot
April 9th, 2008 by snowblader13Here is a pretty cool project that Sascha from Germany Sent me.
Here is the information from Sascha:
“This is the Lego NXT “4 In A Row” robot project.
This robot is able to play against you on itself.
He is independend of any computer, so the program - programmed with NXC - is running on the NXT brick.
The human player can choose the row while pushing the touch sensor as often as the row’s number. The computer decides on its own, which row would be the best for it.
This KI is working mainly on the MINIMAX algorithm. However the computer is not as hard as i want him to be, because of the less NXT Brick speed.
the algorithm works like that: The computer simulates the next 3 possible steps and gives any game situation a specific number of points. The Row with the most points will be the next computers choice.
The robot uses three NXT motors:
- one is moving the gameboard
- the second fixes the stones
- the third opens the gate”
