This a two player game which has the following rules:
-
The game starts with Player 1.
-
At each step a player can choose one of the following :
a) A free tile at the lowest row.
b) A free tile for which the tile just below it has already been taken.
-
There are predefined winning arrays. If the last four choices of a player matches a winning array, that player wins.
-
Game is built using simple DOM Manipulation with Javascript.
- Clone the repo using git
- Open
index.html
file in your browser - Play the game