{"author_link":"\/author\/mpath\/","author_name":"mpath","author_uid":"26499","comments":[{"author_name":"kraln","author_uid":"45904","time":"Dec 8, 2014 @ 10:47am","epoch":1418035320,"text":"If I run python in &quot;screen&quot;, then it definitely meets the theme. Is it a game? Maybe, in the same way that Conway's life is a game."},{"author_name":"43iscoding","author_uid":"35110","time":"Dec 8, 2014 @ 10:48am","epoch":1418035380,"text":"Probably the best theme usage I encountered so far :) \r<br\/>Not really a game, but I like this one"},{"author_name":"TheScragglyMan","author_uid":"46841","time":"Dec 8, 2014 @ 5:54pm","epoch":1418060940,"text":"a very interesting take on the theme :D"},{"author_name":"raincole","author_uid":"17708","time":"Dec 8, 2014 @ 5:55pm","epoch":1418061000,"text":"It's hard to say if it's a game. But the theme interpretation is innovative."},{"author_name":"Pinpickle","author_uid":"1179","time":"Dec 8, 2014 @ 6:58pm","epoch":1418064780,"text":"Very original, I'm not entirely sure what's going on but it feels intuitive enough. \r<br\/>Very clean source considering you've got it all in 60 lines!"},{"author_name":"davesoft","author_uid":"46316","time":"Dec 8, 2014 @ 7:04pm","epoch":1418065140,"text":"A delightful tech demo, but not a game. Let me know if you disagree and we can work together on something :)"},{"author_name":"Domantas","author_uid":"13892","time":"Dec 8, 2014 @ 7:17pm","epoch":1418065920,"text":"Very interesting take on the theme, however this is not really a game. But I still spent unreasonable amount of time watching strings transform :D"},{"author_name":"mpath","author_uid":"26499","time":"Dec 8, 2014 @ 7:41pm","epoch":1418067360,"text":"Thanks to everyone that gave this a rating. I see a lot of you disagree on this being a &quot;game&quot;. A game, to me, is an activity (or software) intended to entertain. This software was intended to both entertain and educate. I hope some aspiring game devs can learn from this code. Again, thank you!"},{"author_name":"Hammers","author_uid":"45416","time":"Dec 8, 2014 @ 11:10pm","epoch":1418079900,"text":"Interesting idea, and I have to give you credit for doing something really different with the theme."},{"author_name":"alyphen","author_uid":"14242","time":"Dec 8, 2014 @ 11:14pm","epoch":1418080140,"text":"This is weird and quite nerdy fun.\r<br\/>I find it oddly enjoyable watching your little script carry out it's duty and &quot;evolving&quot;."},{"author_name":"AinaSG","author_uid":"45390","time":"Dec 8, 2014 @ 11:16pm","epoch":1418080260,"text":"Nice idea, not a &quot;game&quot; but this is cool and you used the theme in an original way"},{"author_name":"Nitrodeus","author_uid":"26906","time":"Dec 9, 2014 @ 8:13pm","epoch":1418155680,"text":"Wow, really interesting ;)\r<br\/>I am always facinated by genetic algorithms, as I think they are one the best tools we have if we want to create and &quot;evolve&quot; intelligent and maybe conscious programs one day. If chance and natural selection made us, I don't see why genetic algorithms running on a fast enough computer couldn't create beings of at least our level of complexity. But I'm going a bit off topic ;) Anyways, I agree on the fact that anything that entertains could be called a &quot;game&quot;, and therefore I consider that gene is a game"},{"author_name":"hazzahazzam","author_uid":"40538","time":"Dec 10, 2014 @ 5:52am","epoch":1418190420,"text":"5 for theme but 0 for fun. Not really a game but still cool nonetheless."},{"author_name":"f7f5","author_uid":"21437","time":"Dec 10, 2014 @ 8:40pm","epoch":1418243700,"text":"I'll rank you high on the theme category. It's always good to find these out of the box approaches among all the normal entries. But this was clearly more fun to the programmer than it is to the player :)"},{"author_name":"BoxedMeatRevolution","author_uid":"47669","time":"Dec 12, 2014 @ 5:12am","epoch":1418360820,"text":"This is a really cool piece of code.\r<br\/>I don't have anything else to say."},{"author_name":"01rafael","author_uid":"11984","time":"Dec 20, 2014 @ 9:15pm","epoch":1419109800,"text":"I was compile this in my head xD\r<br\/>Also, I'll play in here"},{"author_name":"vegard1992","author_uid":"20707","time":"Dec 29, 2014 @ 1:49pm","epoch":1419860640,"text":"genetic algorithms are cool.."}],"images":["ld31\/26499-77453a58161182181d81a607b330f44c.jpg","ld31\/26499-181774dc6efce3a90aa4ac3dd3d6c6b1.jpg","ld31\/26499-873dc86299de899bd60d7cf0bcb7e547.jpg"],"links":[{"url":"https:\/\/github.com\/mpath\/gene.git","text":"Source"}],"metadata":{"g_key":"14546","g_author":"26499","g_event":"LD31","g_eventkey":"26","g_subevent":"COMPO","g_urlkey":"14576","g_title":"gene","g_status":"UCHK1","g_place":"975","g_commentcount":"17","g_site2_node_id":"0","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":[],"node":null,"orig_images":["http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/407933\/26499-shot0.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/407933\/26499-shot1.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/407933\/26499-shot2.png-eq-900-500.jpg"],"text":"Gene is a genetic algorithm in 60 lines of (non-PEP8) Python 2.6+ code, with minimal imports.\r\n60 lines of python should fit on ONE SCREEN!\r\n\r\nThis algorithm is *NOT* just making random guesses. It starts randomly, and there is randomness in it, but the principle is much more complex. See http:\/\/en.wikipedia.org\/wiki\/Genetic_algorithm#The_building_block_hypothesis\r\n\r\nTo play, you will need to:\r\n1. Install Python. See python.org\r\n2. Clone the source code with git or save this somewhere: https:\/\/github.com\/mpath\/gene\/blob\/master\/gene.py\r\n3. Run gene at a command prompt, like so: python path\/to\/gene\/gene.py\r\n\r\n4. You will be prompted for a string to \"strive towards\". You may use upper and lowercase letters and spaces, but not punctuation or numbers. Type it out (it can be as long as you'd like) and hit ENTER.\r\n5. The genetic algorithm will run and update after every generation. At the end you will see some stats. Enjoy the show!\r\n\r\nHINT: If it's taking too long to complete generations, try a shorter string.","title":"gene"}