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: The GIMP
  • Code: Just plain ol’ javascript and HTML5 canvas!
Rated 4.1 out of 5 stars
(7 total ratings)
TagsColorful, Cute, Ludum Dare, Ludum Dare 42, Minimalist, Music, Neon, Short, Tilemap
LinksLudum Dare


Log in with to leave a comment.

The movement is horrible in this game. Sometimes if I tap a direction key, it moves two spaces instead of one, and if you hold a direction key, it takes an ETERNITY to finish the movement, the movement still counts when you bumb into a blockade.

(2 edits)

Sorry about that…? It was my first ludum dare game from like four years ago, I’ve improved since haha

Though, I agree the movement is slow, but I don’t think I’ve experienced it moving two spaces instead of one when tapping the key.


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.