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.


  • 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: The GIMP
  • Code: Just plain ol’ javascript and HTML5 canvas!


Log in with to leave a comment.


This could be me, but I think the puzzles take too long to solve, movement also takes much time of this. I like it when there is a quick reward loop  1 - 3 seconds.  This way I can try again quickly when I fail and not get frustrated. And fail I will because I am not that smart. 

Maybe having inbetween goals when solvign the puzzle like idle games. In cookie clicker for example you can have little goals like upgrading your mouse before the bigger more rewarding goals like unlocking something next level like grandma and then factory. 

This is really great for 48 hours!, Keep up the good work dude!


Wow man, love this game!
Original concept.
Love the  jingle + color effect when you complete a level :)
Love the music especially, really adds to the game.