Skip to content
AI for the “Connect Four” game that runs in the browser
JavaScript CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
devenv.sh
dist.sh
package-lock.json
package.json
repl.sh
test.sh
web.sh

README.md

Connect Four AI

This is an artificial intelligence for the game “Connect Four”. It is implemented in JavaScript and there are frontends for the web browser and for the CLI.

👉 PLAY Connect Four in your browser!

Requirements (for development)

  • NodeJS 12.14.0 (or, if you use Docker, run devenv.sh to start a container)
  • Run npm i to install dependencies

Get started

  • web.sh starts a web server on localhost:8080 that serves the web frontend
  • repl.sh runs the game on the command line
  • test.sh to execute all tests (-w for watch mode)
  • dist.sh creates the distributables in ./dist
You can’t perform that action at this time.