{"id":1855,"date":"2019-08-16T08:25:19","date_gmt":"2019-08-15T23:25:19","guid":{"rendered":"https:\/\/www.kdel.org\/wp\/?p=1855"},"modified":"2019-08-16T08:25:19","modified_gmt":"2019-08-15T23:25:19","slug":"refbox-for-half-sized-field","status":"publish","type":"post","link":"https:\/\/www.kdel.org\/wp\/?p=1855","title":{"rendered":"RefBox for half sized field."},"content":{"rendered":"<p>Cyan \u306e\u307f\u3092\u4f7f\u3046\u3053\u3068\u3067\u5bfe\u5fdc\uff0e<br \/>\nMPS \u306b\u95a2\u3057\u3066\u306f\uff0crcll-refbox\/src\/games\/rcll\/machine.clp \u306e deffunction machine-init-randomize (?ring-colors) \u306e\u6700\u5f8c\u306e\u90e8\u5206\u3092\u5909\u66f4\uff0e<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n    ; Swap machines\r\n                (bind ?machines-to-swap\r\n            (create$ (str-cat &quot;RS&quot; (random 1 2)) (str-cat &quot;CS&quot; (random 1 2))))\r\n                (foreach ?ms ?machines-to-swap\r\n      (do-for-fact ((?m-cyan machine) (?m-magenta machine))\r\n          (and (eq ?m-cyan:team CYAN) (eq ?m-cyan:name (sym-cat C- ?ms))\r\n                                                 (eq ?m-magenta:team MAGENTA) (eq ?m-magenta:name (sym-cat M- ?ms)))\r\n\r\n                                (printout t &quot;Swapping &quot; ?m-cyan:name &quot; with &quot; ?m-magenta:name crlf)\r\n\r\n                                (bind ?z-cyan ?m-cyan:zone)\r\n                                (bind ?r-cyan ?m-cyan:rotation)\r\n                                (bind ?z-magenta ?m-magenta:zone)\r\n                                (bind ?r-magenta ?m-magenta:rotation)\r\n                                ; (modify ?m-cyan    (zone ?z-magenta) (rotation ?r-magenta))\r\n                                ; (modify ?m-magenta (zone ?z-cyan) (rotation ?r-cyan))\r\n                        )\r\n          )\r\n<\/pre>\n<p>\u6700\u5f8c\u306emodify \uff12\u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\uff0cswap \u3092\u7121\u52b9\u5316\u3057\u307e\u3059\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cyan \u306e\u307f\u3092\u4f7f\u3046\u3053\u3068\u3067\u5bfe\u5fdc\uff0e MPS \u306b\u95a2\u3057\u3066\u306f\uff0crcll-refbox\/s &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.kdel.org\/wp\/?p=1855\"> <span class=\"screen-reader-text\">RefBox for half sized field.<\/span> \u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[10,3,2,9],"tags":[],"class_list":["post-1855","post","type-post","status-publish","format-standard","hentry","category-fawkes","category-logistics-league","category-robocup","category-robotino-3"],"_links":{"self":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1855"}],"version-history":[{"count":1,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1855\/revisions"}],"predecessor-version":[{"id":1856,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1855\/revisions\/1856"}],"wp:attachment":[{"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdel.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}