{"id":9,"date":"2018-12-17T14:47:55","date_gmt":"2018-12-17T14:47:55","guid":{"rendered":"http:\/\/cbaduk.net\/w\/?page_id=9"},"modified":"2022-01-23T11:26:59","modified_gmt":"2022-01-23T11:26:59","slug":"home","status":"publish","type":"page","link":"https:\/\/cbaduk.net\/w\/","title":{"rendered":"Start!"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Janggi!<\/h3>\n\n\n\n<center>\n<form target=\"_blank\" action=\"\/gmgm.php\" method=\"post\">\n<input type=\"hidden\" name=\"action\" value=\"start\">\nCho: \n<input type=\"radio\" name=\"cho_start\" value=\"0\" checked=\"\">smsm &nbsp;\n<input type=\"radio\" name=\"cho_start\" value=\"1\">smms &nbsp;\n<input type=\"radio\" name=\"cho_start\" value=\"2\">mssm &nbsp;\n<input type=\"radio\" name=\"cho_start\" value=\"3\">msms &nbsp;\n<br>\nHan: \n<input type=\"radio\" name=\"han_start\" value=\"0\" checked=\"\">smsm &nbsp;\n<input type=\"radio\" name=\"han_start\" value=\"1\">smms &nbsp;\n<input type=\"radio\" name=\"han_start\" value=\"2\">mssm &nbsp;\n<input type=\"radio\" name=\"han_start\" value=\"3\">msms &nbsp;\n<br>\n\n<input type=\"radio\" name=\"mode\" value=\"edit\">Edit mode<br>\n<input type=\"radio\" name=\"mode\" value=\"cho\" checked=\"\">Play as cho<br>\n<input type=\"radio\" name=\"mode\" value=\"han\">Play as han<br>\n<input type=\"submit\" value=\"Start\">\n<\/form>\n<\/center>\n\n\n\n<h3 class=\"wp-block-heading\">Othello!<\/h3>\n\n\n\n<center>\n<form target=\"_blank\" action=\"\/oth\/gmoth.php\" method=\"post\">\n<input type=\"hidden\" name=\"action\" value=\"start\">\n<input type=\"radio\" name=\"mode\" value=\"edit\">Edit mode<br>\n<input type=\"radio\" name=\"mode\" value=\"black\" checked=\"\">Play as black<br>\n<input type=\"radio\" name=\"mode\" value=\"white\">Play as white<br>\n<input type=\"submit\" value=\"Start\">\n<\/form>\n<\/center>\n\n\n\n<h3 class=\"wp-block-heading\">Baduk!<\/h3>\n\n\n\n<center>\n<form target=\"_blank\" action=\"\/go.php\" method=\"post\">\n<input type=\"hidden\" name=\"action\" value=\"start\">\n<p>\n<input type=\"radio\" name=\"board_size\" value=\"19\" checked=\"\">19&#215;19 &nbsp;\n<input type=\"radio\" name=\"board_size\" value=\"13\">13&#215;13 &nbsp;\n<input type=\"radio\" name=\"board_size\" value=\"9\">9&#215;9 &nbsp;\n<\/p>\n<p>\n<input type=\"radio\" name=\"mode\" value=\"black\" checked=\"\">Play as black &nbsp;\n<input type=\"radio\" name=\"mode\" value=\"black2\">2 stone handicap &nbsp;\n<input type=\"radio\" name=\"mode\" value=\"black3\">3 stone handicap &nbsp; <br>\n<input type=\"radio\" name=\"mode\" value=\"black4\">4 stone handicap &nbsp;\n<input type=\"radio\" name=\"mode\" value=\"black5\">5 stone handicap &nbsp;\n<input type=\"radio\" name=\"mode\" value=\"black6\">6 stone handicap &nbsp; <br>\n<input type=\"radio\" name=\"mode\" value=\"black7\">7 stone handicap &nbsp; \n<input type=\"radio\" name=\"mode\" value=\"black8\">8 stone handicap &nbsp; \n<input type=\"radio\" name=\"mode\" value=\"black9\">9 stone handicap &nbsp;<br>\n<input type=\"radio\" name=\"mode\" value=\"white\">Play as white &nbsp;<br>\n<input type=\"radio\" name=\"mode\" value=\"edit\">Edit mode\n<\/p>\n<input type=\"submit\" value=\"Start\">\n<\/form>\n<\/center>\n\n\n\n<h3 class=\"wp-block-heading\">What is this?<\/h3>\n\n\n\n<p>This is a baduk (go) \/ Janggi engine running on the cloud. To be specific, this is a customized version of leela-zero (<a href=\"http:\/\/zero.sjeng.org\/\">http:\/\/zero.sjeng.org\/<\/a>) running on a couple of consumer-grade GPUs, with a web frontend written from scratch.<\/p>\n\n\n\n<p>To be more specific, this is a 192&#215;15 net running at -v 800 to -v 2000 depending on server load, with some patches for performance optimization on this specific environment. This probably won&#8217;t be as good as people using their own GPUs, but it should be much faster than any consumer-grade CPU-only setups.<\/p>\n\n\n\n<p>(Updated) : I developed a Janggi AI from scratch!  This is heavily influenced from the leela-zero project using the same &#8220;AlphaZero&#8221; method &#8211; combination of reinforcement learning and monte-carlo tree search methods.  This took 6 month of training from four consumer-grade GPUs, which is now playing at least at the level of very strong amateurs (and it is getting stronger and stronger)<\/p>\n\n\n\n<p>(Updated) : Adding Othello!  This seemed to be much simpler than Janggi or Baduk, but it&#8217;s a great addition to the list of board games supported.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What are the game settings here?<\/h3>\n\n\n\n<p>Baduk: Tromp-Taylor rules.  7.5 komi for even games.  Handicap games run with 0.5 komi.<\/p>\n\n\n\n<p>Janggi: Modern rule (&#8220;Kakao-Janggi&#8221; rule) &#8211; no draws, no repetitive moves, and loses once you go lower than 10 points.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is stored on the server?<\/h3>\n\n\n\n<p>At this point, nothing related to the game itself is stored on the servers. Once you close your window, it&#8217;s all gone.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What&#8217;s your next plans?<\/h3>\n\n\n\n<ul><li>Some way to review the games you played &#8211; this is quite compute-intensive and I am thinking whether there is a good way to reuse your play record, but no good idea yet.<\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Janggi! Cho: smsm &nbsp; smms &nbsp; mssm &nbsp; msms &nbsp; Han: smsm &nbsp; smms &nbsp; mssm &nbsp; msms &nbsp; Edit mode Play as cho Play as han Othello! Edit mode Play as black Play as white Baduk! 19&#215;19 &nbsp; 13&#215;13 &nbsp; 9&#215;9 &nbsp; Play as black &nbsp; 2 stone handicap &nbsp; 3 stone handicap &nbsp; &hellip; <a href=\"https:\/\/cbaduk.net\/w\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Start!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/cbaduk.net\/w\/index.php?rest_route=\/wp\/v2\/pages\/9"}],"collection":[{"href":"https:\/\/cbaduk.net\/w\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cbaduk.net\/w\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cbaduk.net\/w\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cbaduk.net\/w\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":19,"href":"https:\/\/cbaduk.net\/w\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":155,"href":"https:\/\/cbaduk.net\/w\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions\/155"}],"wp:attachment":[{"href":"https:\/\/cbaduk.net\/w\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}