jediscript / connect-four

An attempt to create a "Connect Four" game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect Four

Summary

A "Connect Four" game in a classic 6 x 7 board or grid, built using JS, HTML table, a little bit of CSS, and a mixture of Luck. :)

Reference: https://en.wikipedia.org/wiki/Connect_Four

Specs

  • Either player should be able to win by making 4 in a row in a vertical, horizontal or diagonal (either direction) pattern.

  • The winner should be immediately announced once there is one, and no moves can be taken after.

  • It should be possible to reach a draw state. A draw state is when there is no possible move left for either player and there is no winner.

  • It should not falsely and/or prematurely declare a player as a winner or a draw.

Installation

clone the repository

 git clone https://github.com/jediscript/connect-four.git

Open the <DIRECTORY_PATH>/connect-four/connect-four.html in your browser.

Demo

https://fierce-cliffs-19683.herokuapp.com/

Roadmap

  • AI or "Vs Computer mode"

About

An attempt to create a "Connect Four" game


Languages

Language:JavaScript 71.6%Language:HTML 24.1%Language:CSS 3.9%Language:PHP 0.4%