Challenge yourself with this simple, yet addictive strategy game, where you need to flood-it as efficiently as you can!
Flood It is a game with the simple premise of flooding the entire board with one color in the least amount of moves possible. It's based on the original Flood-It! by Lab Pixies archived in Wayback Machine↗
You can install Flood It in many ways, here are some listed:
1. Official Flatpak package:
2. Alternative package distributions:
[!WARNING] Although some of the methods listed here may be maintained by the Flood It maintainers, these methods are not officially supported and issues related to packaging in them should be reported outside this project's bug tracker.
3. Install from source:
If you don't find any other options appealing to you, then you can always compile code on your machine from source and install it that way. For more information, check out How to build section.
git clone https://github.com/👁️you👁️/floodit.git
git checkout -b new-thingies
git commit
git push origin new-thingies
This is the easiest way of building Flood It if you want to build it as a Flatpak package. Highly recommended, but probably not for everyone, as GNOME Builder and Flatpak can be quite resource hungry.
[!IMPORTANT] Building with GNOME Builder isn't currently supported. If you need to build a Flatpak package, see the Flatpak Builder section.
https://github.com/tfuxu/floodit.git
as the URL.flatpak-builder
org.gnome.Sdk//47
org.gnome.Platform//47
Install required runtimes:
flatpak install org.gnome.Sdk//47 org.gnome.Platform//47
git clone https://github.com/tfuxu/floodit.git
cd floodit
flatpak-builder --install --user --force-clean repo/ build-aux/flatpak/io.github.tfuxu.floodit.json
git clone https://github.com/tfuxu/floodit.git
cd floodit
flatpak-builder --install --system --force-clean repo/ build-aux/flatpak/io.github.tfuxu.floodit.json
The following packages are required to build this project:
go
gtk4
libadwaita
meson
ninja-build
git clone https://github.com/tfuxu/floodit.git
cd floodit
meson setup builddir
meson configure builddir -Dprefix=/usr/local
ninja -C builddir install
git clone https://github.com/tfuxu/floodit.git
cd floodit
meson setup builddir
meson configure builddir -Dprefix="$(pwd)/builddir" -Dbuildtype=debug
ninja -C builddir install
meson devenv -C builddir ./bin/floodit
[!NOTE] During testing and development, as a convenience, you can use the
local.sh
script to quickly rebuild local builds.
This repository is licensed under the terms of the GNU GPLv3 license. You can find a copy of the license in the COPYING file.
I've got an idea to create Flood It after playing Flood on SerenityOS.
Some parts of the backend code used to generate and flood board are based on code from Open Flood and The FloodIt! game example made by Otfried Cheong.
I also read explanations of Flood fill algorithm implementations to better understand the process of board filling in game.
The general structure of this project is based on my Gotk4 Go + Meson project template.