0.2.2 • Published 7 years ago

tictactoewinner v0.2.2

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Tic Tac Toe Winner

Disclaimer

This component has been created for training purposes only. It is used to demonstrate how to work with NPM. This component should not be used for and kind of production use.

Description

Gets the winner on a Tic Tac Toe board.

Usage

var winner = getTicTacToeWinner(
  [ 0, 0, 0, 1, 1, 1, 2, 2, 0 ], // Board data
  0); // Value representing an unset field
console.log("The winner is " + winner);
0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago