NCL Tic-Tac-Toe

Published in

Tic-tac-toe - screenshot

Tic-tac-toe, also spelled tick tack toe, and alternatively called noughts and crosses, hugs and kisses, and many other names, is a pencil-and-paper game for two players, O and X, who take turns marking the spaces in a 3×3 grid, usually X going first. The player who succeeds in placing three respective marks in a horizontal, vertical or diagonal row wins the game.

The simplicity of tic-tac-toe makes it ideal as a pedagogical tool for teaching the concepts of combinatorial game theory and the branch of artificial intelligence that deals with the searching of game trees.

This Tic-tac-toe is developed in pure NCL, to demonstrate how NCL can be used to establish dynamic relationships among media.

Use the directional keys to choose the space you want to place your mark. Use "OK" to place your mark. After the game is over, press "Green" to play again or "Red" to quit.

Guilherme F. Lima
TeleMidia Lab
PUC-Rio

AttachmentSize
TicTacToe.zip276.39 KB
0
Your rating: None

License

Creative Commons license icon
This work is licensed under a Creative Commons license Attribution Non-commercial Share Alike