magefree / magefree/mage

AI Decision Making/Errors

Open
#7,749 3 comments 0 reactions 0 assignees View on GitHub
AI
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

AI I believe is primarily meant for practice games and not actual challenge. However, there are a few mistakes the AI repeatedly makes that are problematic.

1. Arbitrary game loss. When more than 1 human player is in a game, a randomly remaining AI or human player will be declared winner shortly after the first human player loses. I have had this happen dozens of times, it is easily repeatable.
[https://www.slightlymagic.net/forum/viewtopic.php?f=70&t=30165&p=246797#p246797](url)

2. AI will sacrifice any and all permanents to avoid any damage or life loss, regardless of the value of that permanent. Primary examples are Torment of Hailfire and Mogis God of Slaughter.
[https://www.slightlymagic.net/forum/viewtopic.php?f=70&t=30246&start=45#p247941](url)

3. AI will not block if it means game loss, it strictly uses the power/toughness calculation. This includes infect damage, commander damage, or permanents that say "lose the game" such as Phage the Untouchable.
[https://www.slightlymagic.net/forum/viewtopic.php?f=70&t=30165&p=246777#p246777](url)

4. AI will choose unplayable possibilities. For example, Hall of Gemstones requires you to pick a colour and then you only produce that colour for the turn. AI will pick at random. Other examples include [https://gatherer.wizards.com/Pages/Search/Default.aspx?text=+%5B%22choose%20a%20creature%20type%22%5D](url). In these creature type cases it will not consider the highest density in the deck, but instead the first type on a commander card or the most cards on the battlefield.
[https://www.slightlymagic.net/forum/viewtopic.php?f=70&t=30165&p=247020#p247020](url)

5. As noted in other posts, AI will pick numbers greater than life total such as Wheel of Mistfortune. I would have to check, but I bet the same would be true of cards like Choice of Damnations.

6. EDIT ADD: Computer cannot discern cards that adjust the power/toughness equation such as High Alert, Assault Formation, Arcades the Strategist or Doran the Siege Tower.

If I am not using this service incorrectly, please let me know. I figured if I start to put pieces together perhaps posting here would be more effective than the forum.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.