arunoda / gc-game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game: Connect Four

This is a generic implementation of the Connect Four with Node.js as a console application. We can play this with the computer, dual players or between two computer based players.

Installation

  • First, you need to install Node.js in your system
  • Then run npm install inside the project root (or simply yarn if you are using yarn)

Usage

  • To play the game run npm run play or yarn play

There are some alternative versions as well, for those try:

  • npm run play-tic-tac-toa
  • npm run play-duo
  • npm run play-robots

Tests

To run test, invoke the following command:

npm test

About


Languages

Language:JavaScript 100.0%