Posts Tagged ‘cracked’

Finding my game in the LD30 mosaic

Posted by (twitter: @royvanrijn)
Thursday, August 28th, 2014 4:14 am

Update: I’ve changed this into a code golf challenge, if you’re into code golf, give it a shot here

A couple of hours ago Will posted a cool mosaic with a lot of thumbnails of games forming a large world map. He set us a simple challenge “find your game!”.

Check out his post here: All LD30 Games in this Mosaic!

First I had a quick look, couldn’t find mine… so I solved it as a real programmer should.

  1. Input: mosaic.png
  2. Input: #tiles x and y
  3. Input: mythumbnail.png
  4. Loop over thumbnails in mosaic
  5. Calculate error
  6. Output image with least error and remember the coordinates


Interesting thumbnail right? Please play the game here:

A (dis)connected world…

[cache: storing page]