Prototype - NAO Robot plays Tic Tac Toe with human.
Also called noughts and crosses (in the British Commonwealth countries)
X's and O's (in Ireland) and X and 0 (in India) or morpion (in french) is a pencil-and-paper game for two players, X and O, who take turns marking the spaces in a 3×3 grid.
The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game.
NAO uses a "mark less" vision analysis algorithm based on OpenCV to:
- Detect the board,
- Track the board (with his head)
- Analyze the game state (check who play next, if you won/lost/tie, game consistency, etc...
- Wait for you to play,
- Move his arm to the right position,
- Draw a cross.
The board doesn't have to be in a specific position, meaning you can move the board, change pencil color, or draw big or small circle, in any case, NAO will be able play as human do.
NAO Behavior fully written within Choregraph v1.14 with python and OpenCV.
NAO Robot application created by Franck Calzada - NAO Developer Program Member