Tic-Tac-Toe in Sproutcore
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
apps/tictactoe
.gitignore
Buildfile
README.md

README.md

Tic-Tac-Toe

This is a small implementation of Tic-tac-toe written with the Sproutcore framework. The computer uses the Negamax algorithm to calculate it's moves. Go here to check it out.

If you are interested in diving into the code, some jumping off points might be,
* apps/tictactoe/controllers/game_controller.js -> This houses all the game logic.
* apps/tictactoe/models/board_model.js -> The houses all the logic for the board.
* apps/tictactoe/models/computer_model.js -> The houses all the logic for the computer AI i.e., the Negamax function.