{"id":10323,"date":"2024-02-03T22:12:12","date_gmt":"2024-02-04T05:12:12","guid":{"rendered":"https:\/\/mattfife.com\/?p=10323"},"modified":"2024-01-02T22:18:19","modified_gmt":"2024-01-03T05:18:19","slug":"stack-rabbit","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=10323","title":{"rendered":"Stack Rabbit"},"content":{"rendered":"\n<p>Gregory Cannon like&#8217;s Tetris. He recently wrote an AI that plays NES Tetris extremely well. It&#8217;s not perfect as it uses a search &amp; heuristic approach, but boy can it play some Tetris.<\/p>\n\n\n\n<p>Source code here: <a href=\"https:\/\/github.com\/GregoryCannon\/StackRabbit\">https:\/\/github.com\/GregoryCannon\/StackRabbit<\/a><\/p>\n\n\n\n<p>He also wrote a <a href=\"https:\/\/github.com\/GregoryCannon\/TetrisTrainer\" data-type=\"link\" data-id=\"https:\/\/github.com\/GregoryCannon\/TetrisTrainer\">Tetris trainer<\/a> that lets you draw a particular Tetris board layout and then get an AI recommendation about the best play.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/l_KY_EwZEVA?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Gregory Cannon like&#8217;s Tetris. He recently wrote an AI that plays NES Tetris extremely well. It&#8217;s not perfect as it uses a search &amp; heuristic approach, but boy can it play some Tetris. Source code here: https:\/\/github.com\/GregoryCannon\/StackRabbit He also wrote a Tetris trainer that lets you draw a particular Tetris board layout and then get an AI recommendation about the best play.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-10323","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-2Gv","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/10323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10323"}],"version-history":[{"count":1,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/10323\/revisions"}],"predecessor-version":[{"id":10324,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/10323\/revisions\/10324"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}