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.
- First, you need to install Node.js in your system
- Then run
npm install
inside the project root (or simplyyarn
if you are using yarn)
- To play the game run
npm run play
oryarn 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
To run test, invoke the following command:
npm test