Skip to content

ankitkumarr/tic-tac-toe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe Test

Initial Setup

Clone repository: $ git clone git@github.com:zimmed/tic-tac-toe.git

CD into cloned directory: $ cd tic-tac-toe

Create a working branch: $ git checkout -b game-move-<your-name>

Install dependencies: > npm i -g mocha & > npm i

Development

First run the mocha-chai tests: > npm test

Notice only the first three tests pass. Open game/game-spec.js, and locate the passing tests.

These have been solved for you with the Game.create method. You don't need to modify this method.

The remaining tests rely on a functioning Game.move method for the game instance. Read through the remaining tests, then begin filling out the Game.move code to satisfy these requirements.

After each small change you make, you can re-run npm test to see if you have successfully met the requirements of the next test.

When all the tests are passing, let me know.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%