/Tic-Tac-Toe

coding challenge: Create an app that can interactively play the game and never lose.

Primary LanguageJavaScript

Setup

Install nodejs

Application developed using v0.10.25.

Install MongoDB

To run tests, install CasperJS

Tests developed using v1.1.0-beta3

# From project folder
npm install

Run Application

From project folder

# Launch server on http://localhost:5000/
foreman start
# or
nf start

Application can also be viewed at tic-tac-toe-rr.herokuapp.com

Features & Tools

  • NodeJS App
  • MongoDB
  • jQuery
  • Unit testing
  • Integration testing
  • Jade Template
  • ExpressJS
  • Chart.js
  • Cookie Tracking
  • Sass
  • JS Minification
  • Deployed to Heroku: http://tic-tac-toe-rr.herokuapp.com

Testing

Test created using CasperJS - v1.1.0-beta3

Install casperjs ~1.1.0

# Start the nodejs dev server on http://localhost:5000/
foreman start

# Run full test suite, open test suite to see how to run an individual test.
./ts.tic-tac-toe.sh