/connect-four

Interactive text console-based Connect Four game.

Primary LanguageTypeScript

Connect Four

Description

Text console-based Connect Four game. First player to connect four disks of the same color wins. Disks can be connected horizontally, vertically or diagonally.

There are three game modes available:

  • Human vs Human
  • Human vs AI
  • AI vs AI

Usage

To start the game run:

 npm run dev

To execute tests and start the game after run:

npm run all

Tests

To execute tests run:

npm run test