{"author_name":"Mark Hildreth","cat":"LD #26","comments":[],"epoch":1367119860,"likes":0,"metadata":{"p_key":"44392","p_author":"Mark Hildreth","p_authorkey":"13982","p_urlkey":"80050","p_title":"How hard is it to make a puzzle game for LD?","p_cat":"LD #26","p_event":"LD26","p_time":"1367119860","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"13982","us_name":"Mark Hildreth","us_username":"mark_hildreth_ld","event_start":"1366934400","event_key":"16","event_name":"LD26"},"text":"<p>At first look, making a puzzle game isn&#8217;t hard. Basically&#8230;<\/p>\n <p>1.) Write a bunch of simple rules that work for one level.<br \/>\n 2.) Write 20 more levels that use the same rules (no more coding necessary!)<br \/>\n 3.) ????<br \/>\n 4.) Profit!<\/p>\n <p>The problem is that trying to create levels that are difficult (but not impossible) is&#8230; well.. difficult.<\/p>\n <p>So far, the tactic has been:<\/p>\n <p>1.) Place a bunch of stuff randomly on the screen.<br \/>\n 2.) Try to (myself) solve the puzzle I just randomly created. If it takes me a few tries before I finally get it: awesome!<br \/>\n 3.) If I solve it right away, add some stuff to where I went to try to make it less obvious.<br \/>\n 4.) Continue this method of tweaking things until I break the level and make it impossible to finish.<br \/>\n 5.) Start over from scratch with a different random level.<\/p>\n <p>There has to be a better way (maybe there is some higher-level math that can use graph theory to create levels that have many possible routes, but very few &#8220;winning&#8221; routes). The worst part about this ad-hoc method is that it&#8217;s very possible I&#8217;ve made a level that is impossible to beat, and I WOULDN&#8217;T KNOW IT until it beats me many times. Also, I might have already thrown away a bunch of levels that I thought were impossible, but might have been really good candidates for some of the final levels.<\/p>\n <p>Part of me wants to build an AI that brute forces the level and gives me an idea of difficulty\/possibility of them. If this wasn&#8217;t for a 48-hour contest, I&#8217;d consider it. For now, I&#8217;ll just keep scrapping away.<\/p>\n <p>So yeah, in theory, a puzzle is pretty straightforward. On the other hand, the amount of time it will take to create levels for a puzzle game should NOT be underestimated.<\/p>","time":"April 27th, 2013 10:31 pm","title":"How hard is it to make a puzzle game for LD?"}