_______ __ __
.-----| ___| .-----.-----.--| |
| | ___| | _ | _ | _ |
|__|__|___| |__|_____|_____|_____|
nFlood is a simple clone of the Flood-It puzzle game.
You need to fill the whole board with a single color. To do that, alternate between them, flooding with the minimum number of moves possible.
It's played on the terminal, with text-based interface via nCurses.
Heavily based on those three online games.
Make sure you have libncurses5-dev.
Then, simply download (or git clone it) and make it
$ make
$ make run
| Options | Actions | Defaults |
|---|---|---|
-h, --help |
Shows help message | |
-v, --version |
Shows game version and build date | |
-W <WIDTH>, --width <WIDTH> |
Sets width of the game board | 14 |
-H <HEIGHT>, --height <HEIGHT> |
Sets height of the game board | 14 |
-c, --center |
Centers the game board |
| Keys | Actions |
|---|---|
| Mouse Click | Changes the flood color |
| Numbers (1~6) | Changes the flood color |
| q | Quits the game at any time |
| r | Resets the game board |
| c | Toggles centering the game board |
The high scores file is stored at ~/.local/share/nflood/nflood.scores.
The game only ranks your score when you are playing at default board size, that is 14x14.
- Copyright (C) 2011-2014 Alexandre Dantas eu@alexdantas.net
- Copyright (C) 2014 Yu-Jie Lin livibetter@gmail.com
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.