/Flood-It

Flood It game written in Python

Primary LanguagePython

Flood-It

Flood It game written in Python.

Rules

The goal of this game is to fill the whole game board with the same color. Click on one of the six colored cells of the game board to start filling. Filling always starts in the top left corner of the game board.

Features

  • 10 x 10 board, 6 colors, Infinity Level (Randomly generated).
  • Simple yet addictive strategy game, and also a time killer. Chilling and relaxing.
  • Customize board size, number of cell and theme.

How to play

  1. Clone this repo/Download zip and extract to your folder:
git clone https://github.com/ngntrgduc/Flood-It.git
  1. Install pygame:
pip install pygame
  1. Go to the folder you have just cloned/downloaded, and run:
py main.py

to play game with another board size:

py main.py -s 780

and more cells:

py main.py -s 780 -c 20

Usage

$ python main.py -h
usage: main.py [-h] [--size SIZE] [--cell CELL]

Flood It game written in Python

options:
  -h, --help            show this help message and exit
  --size SIZE, -s SIZE  Change board size
  --cell CELL, -c CELL  Change number of cells of each row/column

Screenshots

image image

TODO(N'T)

  • Add flexible board size, cells
  • Add more theme
  • Add command-line arguments