Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 616 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 616 Bytes

Tic Tac Toe Win Checker

A simple program to determine the winner of a given Tic Tac Toe board.

The format of a board is a 3x3 2d array, for example:

[
    ["x","o","x"],
    ["x","x","o"],
    ["x","o","o"]
]

Empty cells should be provided as empty strings, but is not essential.

Installation

Use git clone with our repository to install the application:

git clone https://github.com/JackJBlundell/TicTacToe-Win-Checker.git

Usage

Inside the parent directory of the project "TicTacToe-Win-Checker", use the following command in the command line window.

node index.js