A simple tic-tac-toe game for 2 players.
- There are two players in the game (X and O)
- A turn ends when a player claims a field
- A player can claim a field if it is not already taken
- Players take turns until the game is over
- A player wins if they claim all the fields in a row, column or diagonal
- A game is over if a player wins
- A game is over when all fields are taken
- Players can enter their names
- jQuery
- Javascript
- HTML5/CSS
- Bootstrap
- Testing Framework : Jasmine
To run the test suite:
$ git clone git@github.com:nenoch/tic-tac-toe.git
// open SpecRunner.html in the browser
$ git clone git@github.com:nenoch/tic-tac-toe.git
// open tic-tac-toe.html in the browser
Step #1
Step #2
Step #3
Step #4
Step #5