{"action":"opened","issue":{"url":"https://api.github.com/repos/magarena/magarena/issues/797","repository_url":"https://api.github.com/repos/magarena/magarena","labels_url":"https://api.github.com/repos/magarena/magarena/issues/797/labels{/name}","comments_url":"https://api.github.com/repos/magarena/magarena/issues/797/comments","events_url":"https://api.github.com/repos/magarena/magarena/issues/797/events","html_url":"https://github.com/magarena/magarena/issues/797","id":164697332,"number":797,"title":"AI does not attack with all creatures when it would guarantee win","user":{"login":"magreenblatt","id":413032,"avatar_url":"https://avatars.githubusercontent.com/u/413032?v=3","gravatar_id":"","url":"https://api.github.com/users/magreenblatt","html_url":"https://github.com/magreenblatt","followers_url":"https://api.github.com/users/magreenblatt/followers","following_url":"https://api.github.com/users/magreenblatt/following{/other_user}","gists_url":"https://api.github.com/users/magreenblatt/gists{/gist_id}","starred_url":"https://api.github.com/users/magreenblatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magreenblatt/subscriptions","organizations_url":"https://api.github.com/users/magreenblatt/orgs","repos_url":"https://api.github.com/users/magreenblatt/repos","events_url":"https://api.github.com/users/magreenblatt/events{/privacy}","received_events_url":"https://api.github.com/users/magreenblatt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-10T03:30:15Z","updated_at":"2016-07-10T03:30:15Z","closed_at":null,"body":"Magarena version 1.74\r\nMonty Carlo level 6\r\n\r\nDefending opponent has 7 life and no creatures. Attacking AI has 4 creatures that can attack, but only attacks with 3 (if all deal damage opponent will die). One of the creatures is killed by an instant so only 2 creatures deal combat damage, allowing the opponent to survive. If the AI had attacked with all creatures to begin with it would have won the game. This happens twice in a row.\r\n\r\nI guess the AI /might/ be thinking that the opponent could play a creature with flash and would have no blockers. However, AI has 22 life so this is a very unlikely threat.\r\n\r\nPerhaps the AI always attacks with the minimal number of creatures to kill the opponent. If so, perhaps this logic needs to be improved to consider more game state.\r\n\r\nGameplay report attached.\r\n[gameplay-report.zip](https://github.com/magarena/magarena/files/355830/gameplay-report.zip)"}}
{"actor":{"display_login":"magreenblatt"}}