{"id":331,"date":"2007-04-09T13:55:11","date_gmt":"2007-04-09T18:55:11","guid":{"rendered":"http:\/\/oranchak.com\/?p=331"},"modified":"2007-04-09T13:55:11","modified_gmt":"2007-04-09T18:55:11","slug":"shiny-four","status":"publish","type":"post","link":"http:\/\/www.oranchak.com\/?p=331","title":{"rendered":"Shiny Four"},"content":{"rendered":"<p>Here is the latest toy that I made for my AI course:<\/p>\n<p><a href=\"http:\/\/oranchak.com\/ai\/project2\/\">Shiny Four<\/a>.<\/p>\n<p><a href=\"http:\/\/oranchak.com\/ai\/project2\/\"><img decoding=\"async\" src=\"http:\/\/oranchak.com\/shiny-four-400px.jpg\"><\/a><\/p>\n<p><a href=\"http:\/\/oranchak.com\/ai\/project2\/\">Shiny Four<\/a> is a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Connect_Four\">Connect Four<\/a> implementation, using a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Minimax_theorem\">minimax<\/a> search with <a href=\"http:\/\/en.wikipedia.org\/wiki\/Alpha-beta_pruning\">alpha-beta pruning<\/a>, written in JavaScript.  The JavaScript makes it quite slow and inefficient.  But it works.  Kinda.  If you play against the computer, it will take a few moments (5 to 10 seconds on my machine) for it to make its move.  Try to beat the coldhearted machine!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is the latest toy that I made for my AI course: Shiny Four. Shiny Four is a Connect Four implementation, using a minimax search with alpha-beta pruning, written in JavaScript. The JavaScript makes it quite slow and inefficient. But &hellip; <a href=\"http:\/\/www.oranchak.com\/?p=331\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,26,35,36],"tags":[],"class_list":["post-331","post","type-post","status-publish","format-standard","hentry","category-computing","category-projects","category-tech","category-toys"],"_links":{"self":[{"href":"http:\/\/www.oranchak.com\/index.php?rest_route=\/wp\/v2\/posts\/331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.oranchak.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.oranchak.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.oranchak.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.oranchak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=331"}],"version-history":[{"count":1,"href":"http:\/\/www.oranchak.com\/index.php?rest_route=\/wp\/v2\/posts\/331\/revisions"}],"predecessor-version":[{"id":567,"href":"http:\/\/www.oranchak.com\/index.php?rest_route=\/wp\/v2\/posts\/331\/revisions\/567"}],"wp:attachment":[{"href":"http:\/\/www.oranchak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.oranchak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=331"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.oranchak.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}