{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20100519%2F1274227631\" title=\"\u6628\u65e5\u306e\u7d9a\u304d - \u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://nishiohirokazu.hatenadiary.org/","published":"2010-05-19 09:07:11","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","width":"100%","blog_title":"\u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc","height":"190","description":"\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u5206\u3051\u3066etc\u306f\u307e\u305f\u5148\u3067\u3082\u51fa\u6765\u308b\u3060\u308d\u3046\u304b\u3089\u307b\u3063\u3068\u3044\u3066\u9032\u3082\u3046 T3Game\u3068T3Play\u3092\u4f5c\u308b\u306e\u306f\u3084\u3081\u3066\u3001Game\u3068Play\u306b\u3057\u305f\u3002 -- \u30b2\u30fc\u30e0\u306e\u5c40\u9762\u3092\u53d7\u3051\u53d6\u3063\u3066\u9078\u629e\u53ef\u80fd\u306a\u624b\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3059 possible_hands :: Game -> [Play] possible_hands game = [MakePlay i | (v, i) <- zip (value game) [0..], v == 0] -- \u30de\u30c3\u30d7\u306e\u958b\u3044\u3066\u3044\u308b\u4f4d\u7f6e(\u30ea\u30b9\u30c8\u306e\u5024\u304c0\u306eindex)\u3092\u8fd4\u3059 -- \u30e9\u30f3\u30c0\u30e0\u306b\u9078\u629e\u53ef\u80fd\u306a\u7740\u624b\u3092\u53d7\u3051\u53d6\u3063\u3066\u4e00\u3064\u9078\u3093\u3067\u8fd4\u3059 random_choice :: [Play] -> \u2026","author_name":"nishiohirokazu","image_url":null,"title":"\u6628\u65e5\u306e\u7d9a\u304d","version":"1.0","url":"https://nishiohirokazu.hatenadiary.org/entry/20100519/1274227631","categories":["Haskell"],"author_url":"https://blog.hatena.ne.jp/nishiohirokazu/"}