Rock Crusher is a match-three game for Pebble smart-watches where you swap neighbouring rocks to get at least three of the same type in a row.

Rock Crusher

Rock Crusher

Match-three games are a fun coding exercise and trying to invent novel special moves leads to interesting emergent game play effects as different combos interact with each other.

Rock crusher utilises the Pebble’s accelerometer as an input method which works well as a cursor to select squares on the grid and indicate the direction to swap. A difficulty curve is obtained in two ways, first the number of pieces in play increases every few levels up to 8 in level 12 and above. Second, the points required to go up a level increase exponentially (115% of the previous level’s requirement) whereas the point bonus gained from special moves scales multiplicatively with the level and points from basic moves (match-3 and match-4) only scale additively, soon making them contribute very little.

Controls:

  • Move the cursor with the right and down buttons, or tilt your wrist.
  • Enter swap mode by pressing the up button.
  • In swap mode, choose the direction to swap with the up, down, left or right button, or tilt your wrist.
  • When not in swap mode, press the left button to save and exit.

Specials:

  • Match four rocks in a row to make a Pearl, which can match any colour of rock. Hence a double Pearl match is impossible.
  • Match a rock in two directions to make Black Powder which will blow up nearby rocks of the same type that it is matched with.
  • Match five rocks in a row to blast all of that rock type.
  • Match two Black Powder to cause a mighty explosion.
  • Match a Pearl with Black Powder to wipe out the row and column.

Rock Crusher screenshot

Download and Source Code

Rock Crusher is written in C and is available on Github.

Download PBW File
Rock Crusher on Pebble Apps
Rock Crusher on Github