Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 466 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 466 Bytes

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