/halloween-noughts-and-crosses

A tic-tac-toe game built in ReactJS, with a halloween theme.

Primary LanguageJavaScript

Noughts & Crosses

About this repo

A tic-tac-toe game built in ReactJS, with a haloween theme.

It supports custom usernames and an arbitrary board size.

The win validation algorithm will detect a win on n board size when one player has a continuous run of length n.

Development

To install packages

yarn

To run

yarn start

The app will be visible in your browser at localhost:3000.

To test

yarn test

or yarn test somefilename.test.js // to run a particular test