{"author_name":"UltimateWalrus","cat":"LD #24","comments":[],"epoch":1345963020,"likes":0,"metadata":{"p_key":"52786","p_author":"UltimateWalrus","p_authorkey":"175","p_urlkey":"88488","p_title":"Genetic algorithm game (late start)","p_cat":"LD #24","p_event":"LD24","p_time":"1345963020","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"175","us_name":"UltimateWalrus","us_username":"ultimatewalrus","event_start":"1345766400","event_key":"12","event_name":"LD24"},"text":"<p>Hey all,<\/p>\n <p>I&#8217;m trying to make a game for LD #24 that uses a genetic algorithm. \u00a0I already got the hardest part out of the way I think, which was coding a genetic algorithm in Multimedia Fusion 2!<\/p>\n <p>You can sorta see how it works in the picture &#8212; right now each lil&#8217; guy just has a &#8220;color&#8221; attribute which is passed down to its children. \u00a0You can use the buzzsaw to kill them, and when you press space the empty spots will be repopulated using the living creatures as parents. \u00a0So, you can get them to be whatever color you want if you just keep killing the ones who aren&#8217;t anything like that color. \u00a0Eventually they&#8217;ll &#8220;evolve&#8221; to be the color you like, so that they can survive to reproduce!<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/08\/26\/genetic-algorithm-game-late-start\/scr1-8\/\" rel=\"attachment wp-att-169223\"><img class=\"alignnone size-full wp-image-169223\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/scr12.png\" alt=\"\" width=\"507\" height=\"349\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/scr12-300x206.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/scr12.png 507w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/a><\/p>\n <p>&#8220;Barnacles&#8221; is a tentative title. \u00a0I started a day late on this (mostly due to laziness but also due to having other stuff to do). \u00a0Hopefully I can finish by the compo deadline, if not I&#8217;ll just shoot for the jam I suppose.<\/p>","time":"August 26th, 2012 1:37 am","title":"Genetic algorithm game (late start)"}