{"id":1588,"date":"2018-08-02T13:30:04","date_gmt":"2018-08-02T12:30:04","guid":{"rendered":"https:\/\/www.lightsoftai.com\/?p=1588"},"modified":"2018-08-02T13:30:29","modified_gmt":"2018-08-02T12:30:29","slug":"ga-ai-tetris-c","status":"publish","type":"post","link":"https:\/\/www.lightsoftai.com\/?p=1588","title":{"rendered":"GA AI Tetris [C#]"},"content":{"rendered":"<div class=\"right\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-52\" src=\"https:\/\/www.lightsoftai.com\/_lightsoft\/wp-content\/uploads\/2008\/02\/gatetris.jpg\" alt=\"\" width=\"160\" height=\"387\" \/><\/div>\n<p>&nbsp;<\/p>\n<p>GA is a way to learn a population by generations, better understand a problem and working towards a goal.<br \/>\nThis by giving a small fragments of the both parents dna (information\/mutation) into the childs &#8220;dna&#8221;.<\/p>\n<p>For each new generations, they will given more understanding of the problem and thereby make better actions towards the problem.<\/p>\n<p>Only the best children are allowed into the next generation with some miner mutation, to remove the section where they could be quite monotonous otherwise.<\/p>\n<p>Here are some links for more information:<br \/>\n<a href=\"http:\/\/en.wikipedia.org\/wiki\/Genetic_algorithm\">Wiki about Genetic Algorithm<\/a><br \/>\n<a href=\"http:\/\/geneticalgorithms.ai-depot.com\/Tutorial\/Overview.html\">AI-Depot (a good AI page with many other solutions of AI stategy)<\/a><\/p>\n<p>I have added a small Tetris application where GA is used to learn the generation to play better. A small data-file is added, so they will not have to start from scratch.<\/p>\n<p>Quite interesting how the generation works \ud83d\ude42<\/p>\n<p>Version: <strong>#<\/strong><br \/>\nRequirements: Windows<br \/>\nLimitations: No limitations<br \/>\n<strong>Download: <a href=\"http:\/\/www.lightsoft.se\/_lightsoft\/wp-content\/uploads\/software\/FunTetris_AI.zip\">FunTetris_AI.zip<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; GA is a way to learn a population by generations, better understand a problem and working towards a goal. This by giving a small fragments of the both parents dna (information\/mutation) into the childs &#8220;dna&#8221;. For each new generations, they will given more understanding of the problem and thereby make better actions towards the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[34,39,81],"class_list":["post-1588","post","type-post","status-publish","format-standard","hentry","category-coding","tag-ai","tag-c","tag-tetris"],"_links":{"self":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/1588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1588"}],"version-history":[{"count":1,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/1588\/revisions"}],"predecessor-version":[{"id":1589,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=\/wp\/v2\/posts\/1588\/revisions\/1589"}],"wp:attachment":[{"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lightsoftai.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}