{"id":2342,"date":"2019-10-15T14:12:30","date_gmt":"2019-10-15T12:12:30","guid":{"rendered":"http:\/\/entropie.org\/3615\/?p=2342"},"modified":"2019-10-16T23:38:25","modified_gmt":"2019-10-16T21:38:25","slug":"puissance-4-en-python-3","status":"publish","type":"post","link":"https:\/\/entropie.org\/3615\/index.php\/2019\/10\/15\/puissance-4-en-python-3\/","title":{"rendered":"Puissance 4 en Python"},"content":{"rendered":"<p>Introduction d&rsquo;un peu d&rsquo;al\u00e9atoire au niveau des IA : Si plusieurs positions sont possibles (\u00e9galit\u00e9 de poids), l&rsquo;IA tire au hasard parmi ces meilleures positions plut\u00f4t que de s&rsquo;arr\u00eater \u00e0 la premi\u00e8re dans la liste. Reste \u00e0 voir ce que cela va changer au niveau de la comp\u00e9tition pr\u00e9c\u00e9dente.<\/p>\n<p>Le codage des IA devient donc :<\/p>\n<p>IA0 : Priorit\u00e9 <span style=\"color:#00ff00;\">H<\/span><br \/>\nIA1 : Priorit\u00e9 <span style=\"color:#00ff00;\">PH<\/span><br \/>\nIA2 : Priorit\u00e9s <span style=\"color:#00ff00;\">A4PH \/ A3PH \/ A2PH \/ PH<\/span><br \/>\nIA3 : Priorit\u00e9s <span style=\"color:#00ff00;\">B4PH \/ B3PH \/ B2PH \/ PH<\/span><br \/>\nIA4 : Priorit\u00e9s <span style=\"color:#00ff00;\">A4PH \/ B4PH \/ A3PH \/ B3PH \/ A2PH \/ B2PH \/ PH<\/span><br \/>\nIA5 : Priorit\u00e9s <span style=\"color:#00ff00;\">A4PH \/ B4PH \/ A3PH \/ B3PH \/ B2PH \/ A2PH \/ PH<\/span><br \/>\nIA6 : Priorit\u00e9s <span style=\"color:#00ff00;\">A4PH \/ B4PH \/ B3PH \/ A3PH \/ A2PH \/ B2PH \/ PH<\/span><br \/>\nIA7 : Priorit\u00e9s <span style=\"color:#00ff00;\">A4PH \/ B4PH \/ B3PH \/ A3PH \/ B2PH \/ A2PH \/ PH<\/span><br \/>\nIA8 : Priorit\u00e9s <span style=\"color:#00ff00;\">A4PH \/ B4PH \/ A2PH \/ B2PH \/ PH<\/span><br \/>\nIA9 : Priorit\u00e9s <span style=\"color:#00ff00;\">A4PH \/ B4PH \/ B2PH \/ A2PH \/ PH<\/span><\/p>\n<p>Code source sur <a href=\"https:\/\/github.com\/eserandour\/Puissance_4\" rel=\"noopener noreferrer\" target=\"_blank\">GitHub<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction d&rsquo;un peu d&rsquo;al\u00e9atoire au niveau des IA : Si plusieurs positions sont possibles (\u00e9galit\u00e9 de poids), l&rsquo;IA tire au hasard parmi ces meilleures positions plut\u00f4t que de s&rsquo;arr\u00eater \u00e0 la premi\u00e8re dans la liste. Reste \u00e0 voir ce que cela va changer au niveau de la comp\u00e9tition pr\u00e9c\u00e9dente. Le codage des IA devient donc &hellip; <a href=\"https:\/\/entropie.org\/3615\/index.php\/2019\/10\/15\/puissance-4-en-python-3\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Puissance 4 en Python&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,33,21],"tags":[],"class_list":["post-2342","post","type-post","status-publish","format-standard","hentry","category-intelligence-artificielle","category-puissance-4","category-python"],"_links":{"self":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/2342"}],"collection":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/comments?post=2342"}],"version-history":[{"count":10,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/2342\/revisions"}],"predecessor-version":[{"id":2386,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/posts\/2342\/revisions\/2386"}],"wp:attachment":[{"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/media?parent=2342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/categories?post=2342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entropie.org\/3615\/index.php\/wp-json\/wp\/v2\/tags?post=2342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}