This project mimics the Flood It game, where users have limited chances to click on cells and fill a square grid with one color. Although this is a replica, both the design and implementation are uniquely developed.
To run the game, you must have a JRE that supports class file version 61.0 or higher.
- Clone the repo:
git clone https://github.com/lphan48/FloodItClone
- Navigate to project directory:
cd FloodItClone - Run the game by executing the main JAR file, located in the project's root directory:
java -jar FloodItClone.jar
Starting from the top leftmost cell, clicking any cell will flood the board to that color (the following image is several turns ahead from the beginning):
The game ends when either the grid is entirely one color, or the user exceeds the amount of turns indicated in the bottom right corner: