Skip to content
GCW-Zero game where the player must fill the board with a single color in a minimum number of turns.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
resources
screenshots
ClearSans-Medium.ttf
IPConfigurator.c
IPConfigurator.h
LICENCE.md
Makefile
README.md
fsm.c
fsm.h
game.c
game.h
globals.h
high_score.c
high_score.h
high_scores_state.c
high_scores_state.h
main.c
mainmenu.c
mainmenu.h
mainmenu_state.c
mainmenu_state.h
menu.c
menu.h
multiplayer.c
multiplayer.h
multiplayer_setup_state.c
multiplayer_setup_state.h
net.c
net.h
play_state.c
play_state.h
utils.c
utils.h

README.md

Floodit

About

Gameplay

At each turn, select a color. The top left cell of the board will be changed to this color along with all the adjacent cells of the same color it was before.

Normal mode

In this mode, you have to fill the grid with a single color in less than 25 turns.

Timed mode

Same as the Normal mode, except that a timer is running and if the game is won, the time is stored in the high scores, for eternal fame and glory.

Multiplayer

Following the same gameplay as the single player, each player starts in a corner of the board and their goal is to expand their area and capture the other players' areas.

Screenshots

screenshot screenshot screenshot

Dependancies

Requires:

  • SDL2
  • SDL2_ttf
  • SDL2_net
  • SDL2_image

Compilation

make

To compile for the GCW-zero, you need the toolchain (downloadable from the console's website), then:

make gcw CROSS_COMPILE=/opt/gcw0-toolchain/usr/bin/mipsel-linux-

To package for the gcw zero, you will need the package squashfs-tools, then run

make opk

Finally, to use your opk, copy it in your GCW-Zero. I use scp for that, but via ftp or on a memory card should work as well:

scp floodit.opk root@[gcwIp]:/media/data/apps/

How to play

To start the game, run the executable floodit.

PC controls

  • arrows to navigate in the menus and in the colors (while in game)
  • space to select a menu action or to select a color
  • escape to go back

GCW-Zero controls

  • D-Pad to navigate in the menus and in the colors (while in game)
  • A to select a menu action or to select a color
  • select to go back

Credits

Font ClearSans from https://01.org/clear-sans/blogs/2013/clear-sans-new-font-optimized-small-screen-readability licenced under Apache License v2.00

You can’t perform that action at this time.