/NodeTacToe

Coding Challenge: A Node implementation of Tic Tac Toe, TDD with Mocha/Chai, inputs with Prompt

Primary LanguageJavaScript

nodetactoe

A command-line tic tac toe game

Features

  • Minimal UI that redraws the board and makes clear whose turn it is, each turn.
  • Players can submit moves - thanks, prompt!
  • Win detection - detects and displays who won
  • Win detection with a functional rather than iterative style.

Usage

Using Nodetactoe is straightforward.

  • run npm install from the root directory
  • to start a game, simply run npm start

Installation

npm install

Running tests

npm test

Author: Ari Frankel