https://github.com/bitwit/tic-tac-toe-js
Tic Tac Toe implemented in Javascript
https://github.com/bitwit/tic-tac-toe-js
Last synced: 8 months ago
JSON representation
Tic Tac Toe implemented in Javascript
- Host: GitHub
- URL: https://github.com/bitwit/tic-tac-toe-js
- Owner: bitwit
- Created: 2015-08-23T21:25:55.000Z (over 10 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-08-28T00:38:52.000Z (over 10 years ago)
- Last Synced: 2025-03-24T03:37:40.361Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://bitwit.github.io/tic-tac-toe-js
- Size: 156 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tic Tac Toe JS
An implementation of tic tac toe in Javascript with AI.
Play here: http://bitwit.github.io/tic-tac-toe-js
Notes:
- Uses gulp to build and test project
- AI uses minimax algorithm with alpha beta pruning
- UI is implemented in Angular.js
- Game logic is written in CommonJS module format is easily bundled to run on client or server side
# Build tasks
- `gulp build`: Bundles app through Browserify
- `gulp serve`: Builds the project and serves up html page locally. Refreshes and lints files on code changes.
- `gulp test`: Bundles app through Mochify and runs tests