Activities/Implode

From Sugar Labs
Jump to navigation Jump to search

Activity-implode.svg

Overview

Implode is a logic game based on the "falling block" model of Tetris. The game starts with a grid partially filled with blocks. The player makes a move by removing adjacent blocks of the same color in groups of three or more. When blocks are removed, higher blocks fall to fill their space, and when a column is cleared, the blocks on either side close to fill the gap. The object of the game is to remove all the blocks. Since the patterns of blocks above changes when lower blocks are removed, the player must carefully decide what order in which to remove the blocks so that there are no isolated blocks left at the end of the game. (The levels are generated in such a way that there is always a sequence of removals that clears the board.)

Screenshot

Implode.png

How to play

  • The game starts up with a field of blocks.
  • Using the mouse pointer, or touchscreen, click on a block that is in a group of three or more of the same color (clickable groups highlight as you pass the mouse cursor over them). Clicking on a group removes it and compacts the playing field.
  • Continue clicking groups of blocks until the board is cleared.
  • If you get stuck with leftover blocks, you can:
    • Click the Undo icon in the toolbar to undo some moves so that you can try again.
    • Click the Restart icon in the toolbar to try the puzzle again from the beginning.
    • Click the New icon in the tool bar to try a different puzzle.

The game can also be played via the game keys and directional pad on an XO laptop:

  • Use the directional pad to move the selection cursor.
  • Use the checkmark game key to remove a selected group of blocks.
  • Use the circle game key to undo a move.
  • Use the X game key to redo a move.
  • Use the square game key to start a new game (only active when the level is cleared).

To do

  • More localization.
  • Rectangle invalidation could be improved.
  • The code documentation and organization needs to be improved. Some calculations are repeated.
  • Audio cues might be nice.
  • Tracking win/loss statistics might be nice.
  • The game could detect a loss and display a "Try again" graphic.

Resources