Instructables
Picture of soccer table made from lego mindstorms
����������2C.jpg
This is an easy to made soccer table from nxt kit.
You can build a game for 2 or 4 players. If you want to create it for 4 players do the optional steps.
 
Remove these adsRemove these ads by Signing Up

Step 3: A controller based on ultrasonic sensor (only for use playing game for four players)

You need to build a controller from ultrasonic.
This controller works like the previous controller, as the motor is closer to the front plate, the motor will rotate more slowly.
Note: This step is a bit harder than the previous steps.

Step 4: The program

I made a program to the game and you can download it here, or develop a program yourself.
Game for 2 players: http://www.2shared.com/file/oTK6FRM3/soccerTable.html
Game for 4 players: http://www.2shared.com/file/tbw70328/soccerTable4players.html

Step 5: Connect all together

Picture of Connect all together
Connect the motors to A and C ports with long cables.
Connect the touch sensors to ports 1 and 3 with medium cables.
For 4 players:
Connect the ultrasonic sensor with extra-long cable.
Connect the color sensor with short cable.

Step 6: How to play?

2 Players:
One player hold the A motor and the 1 touch sensor. The second player hold the C motor and 3 touch sensor.
4 Players:
The players hold touch sensors & motors like in 2 players game, but the player who played with player A, the color sensor, and the fourth player control the ultrasonic sensor.

In both games you can write the scores with the arrows key on the NXT.
yapoyo2 years ago
I hope it works with NXT 1.0....
mikeasaurus2 years ago
Neat idea! Do you have video of it in action?
good idea