0.1.0 • Published 2 years ago

@mattsmithcode/noughts-and-crosses v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

noughts-and-crosses

A Node.js + TypeScript implementation of Noughts and Crosses.

Running

Install package dependencies and build the application using npm or yarn:

npm install
npm run build

or

yarn install
yarn build

Run the application using:

npm start

or

yarn start

Alternatively, the application can be built and run in one step by running:

npm run build:run

or

yarn build:run

Usage

Pick the number of the cell you want to play, the game will make its counter-move and play continues.

Known Issues

  • There is currently no draw detection. If a game ends in a draw, the process will remain running

Licence

ISC