Skip to content

Tic Tac Toe learning project for the UNC Open Web group

Notifications You must be signed in to change notification settings

uncopenweb/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Author: Peter Parente
Description:Self-voicing tic-tac-toe game using HTML5 speech and sound. Meant as a sample for UNC Open Web developers and minor fun for kids with visual impairments. Requires two human players and has no AI or settings.

Design notes

The game follows a loose model-view-controller separation of widgets. The GameBoardModel tracks the current player's turn, the state of the game board cells, and whether the game is over or not. The model publishes events that GameBoardView, GameBoardAudio, and GameTurnView use to show and speak the progress of the game to the user. The GameBoardKeys and GameBoardMouse classes drive the model based on input from the user. These classes also publish events that the view widgets use to give feedback based on user actions.

License

Copyright (c) 2010, 2011 UNC Open Web Team All rights reserved.

http://creativecommons.org/licenses/BSD/

Attribution

Samples used from Freesound, licensed under a Creative Commons Sampling Plus 1.0 License.

About

Tic Tac Toe learning project for the UNC Open Web group

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published