Skip to content

Repository files navigation

Color Flood

Color Flood

build test codecov

🎨 Color Flood is a puzzle game where you fill the grid one color at a time.

Play in your browser:

Or download for desktop:

Read the blog post or watch the YouTube video.

Features

  • Three difficulty levels: Easy, Normal, and Hard
  • Color picker with 5 to 7 colors
  • Real-time progress tracking: moves remaining and percentage of the board flooded
  • Responsive layout with dark-mode support

How to Play

Your territory starts in the top-left corner. Pick a color to expand your territory and keep going until the whole board is one color.

  • Your territory expands into adjacent cells that match the color you pick.
  • The move counter shows how many turns you have left.
  • Flood every cell to win. If you run out of moves first, start a new game and try again.

Difficulty

Difficulty Board Colors Moves
Easy 10×10 5 20
Normal 14×14 6 25
Hard 18×18 7 32

Credits

Prerequisites

nvm:

brew install nvm

Install

Clone the repository:

git clone https://github.com/remarkablegames/color-flood.git
cd color-flood

Install the dependencies:

npm install

Available Scripts

In the project directory, you can run:

npm start

Runs the game in development mode.

Open http://127.0.0.1:5173 to view it in the browser.

The page will reload if you make edits.

You will also see any errors in the console.

npm run build

Builds the game for production to the dist folder.

It correctly bundles in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your game is ready to be deployed!

npm run lint

Checks the code quality.

npm run lint:tsc

Checks for type errors.

npm test

Runs the tests.

License

MIT

Releases

Sponsor this project

Packages

Used by

Contributors

Languages