Skip to main content
Engineering LibreTexts

11.3: Ink Spill, a “Flood It” Clone

  • Page ID
    13627
  • Figure 61

    The game "Flood It" begins with a board filled with colored tiles. On each turn the player chooses a new color to paint the top left tile and any tiles adjacent to it of that same color. This game makes use of the flood fill algorithm (described in the Star Pusher chapter). The goal of the game is to turn the entire board into a single color before running out of turns.

    This game also has a Settings screen where the player can change the size of the board and the difficulty of the game. If the player gets board of the colors, there are a few other color schemes they can switch to as well.

    • Was this article helpful?