An open API service indexing awesome lists of open source software.

https://github.com/romaleev/tic-tac-toe

Tic Tac Toe game
https://github.com/romaleev/tic-tac-toe

Last synced: about 1 year ago
JSON representation

Tic Tac Toe game

Awesome Lists containing this project

README

          

# tic-tac-toe

## Task

- Implement Tic Tac Toe CLI game using [Node.js](https://nodejs.org/)


x | o | x
---+---+---
o | x | o
---+---+---
7 | 8 | 9
x = █

## Installation

Run `npm install` to install dependencies

## Development

Run `npm start` to start the project

The application will automatically restart if you change any of the source files

## Build

Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory

## Run tests

Run `npm test` to execute unit tests

Run `npm run test-watch` to execute unit tests in watch mode

## Run test coverage

Run `npm run coverage` to generate [coverage report](./coverage/lcov-report/index.html)

## Run code quality checks

Run `npm run lint` for code quality checks.

Run `npm run lintfix` for code quality fixes. It happens automatically in pre-commit hook.

## Update library versions

Run `npm run update` to update libraries to the latest versions.