About this game

Petra is a puzzle game where your goals are constantly getting in the way!

Push the colored blocks around to match the target shapes at the bottom. But beware — once you make a target shape, the blocks will become immovable!

Made in 48 hours for Ludum Dare 42.

There are 18 levels. I wanted to do 20, but... you know how it is.

You might have to click the game before pressing keys.

[To play again after you have beaten the game, press SHIFT+X while in the game, then refresh the page.]


  • Arrow keys to move.
  • R to reset the puzzle.
  • M to toggle music.
  • SHIFT+X to delete your save file.

Tools used

  • Music: FL Studio with the wonderful SQ8L VST
  • Sound effect (there’s only one): bfxr
  • Graphics: GIMP
  • Code: Just plain ol’ javascript and HTML5 canvas!