Uploaded by SundaeWaffles on Dec 7, 2010
This project was designed by MIDN 1/C Jason Senko and MIDN 1/C Amy Lowe, both Systems Engineers and the US Naval Academy. The ScorBot was used along with a USB camera to play a game of tic-tac-toe with a user. The user will click on a board on the screen, which the robot will then move their piece on the playing board. After the robot has moved the user's piece it will then move its own piece on the board. After each move, the computer will assess the board to check if either player has won. If the user wins, the robot will pout, but if the robot wins, it will celebrate. We assume the board will always be in the same place. We will have a place, the Loading Zone, that all pieces are picked up from. The board is laid out with thick, easy to see lines. The blocks are different size and colors for the different players.
The code used use a set of several functions to determine the right move and where to move the ScorBot. The main code would start off by choosing a random first player. The name of the player would then be posted on the screen ("user" or "computer"). If it is the user's turn, the board is printed on the computer screen with a cross-hair. If the move the user picks is found to be valid, the ScorBot will use the command ScorCartMove to move the block to the proper position. The computer will then pick a valid move and the game will go on like such.
One function in the code is a series of 'if' statements that will help the robot pick its next move. Another function is designed to determine if the move is valid. Another function will move the robot in such a way that it celebrate if it wins, pout if the user wins and will trace a 'C' for 'cat' in the event of a tie.
Category:
Tags:
License:
Standard YouTube License
-
0 likes, 0 dislikes
-
Artist: Linkin Park
2:38
Robot Tic-Tac-Toeby pschre208 views
1:48
Intelligent Tic-Tac Toe Playing Robotby DSDUNAM173 views
2:44
ES450 ScorBot Bowlerby f35lighteningII152 views
3:06
autonomous walking Spider Robotby tinowerner1,270,523 views
2:57
LEGO Mindstroms: A Tic-Tac-Toe Playing Robotby preedalist45,213 views
3:44
ES450 Scorbot Tic Tac Toe Robotby poophead6425127 views
2:15
Tic Tac Toe Playing Robotby toaobeserk613 views
5:10
tic tac toe robotby mantischeng160 views
4:50
Inexpensive homebuilt ROBOT ARM playing TIC TAC TOE with photo-detectionby rherreradelgado2,490 views
2:37
ES450 Robix Kit Sorting Robotby robodeities97 views
1:18
Moving objects using imaging techniques and linear proportional control (ES450 Project)by mbearman11115 views
0:36
Tic-Tac-Toe SCARA Robot 1by mycomfab617 views
1:26
ES450 Tic-Tac-Toe robot (ROBOT WIN)by vfa118114 views
1:22
Roboter spielt Tic Tac Toeby FHDuesseldorfFB32,964 views
1:05
USNA ES450 Final Project: Tic-Tac-Toeby jrizorMMX90 views
2:33
ES450 Motion Controlby dxtr10145631 views
0:48
Denso Robot plays TIC TAC TOEby ImagingLab1,913 views
0:26
Delta-Roboter Tic Tac Toe Spiel - Positionierung delta roboterby und3r2,535 views
1:06
Lego Mindstorms NXT Tic-Tac-Toeby LukasGra921,203 views
2:10
Robotic Tic Tac Toeby pjbhaumik62 views
- Loading more suggestions...
Link to this comment:
All Comments (0)