Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 756 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 756 Bytes

The Tech

  • React
  • Jest (Testing framework)

Installation

  • Install NodeJS & npm here https://nodejs.org/en/download/
  • Clone the repository with: git clone https://github.com/Tim-Kerr/Connect4.git
  • In the root project folder execute npm install to install all of the project dependencies

Running the Game

  • In the root project folder execute npm run start. The game will be started on localhost:3000/

Running the Tests

  • Unit tests for the win logic are written in Jest
  • In the root project folder execute npm install -g jest (This is necessary due to jest conflicts formed with the the create-react-app)
  • In the root project folder execute npm run test