Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.85 KB

README.rst

File metadata and controls

31 lines (21 loc) · 1.85 KB

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.