magefree / magefree/mage

AI - mulligan = slow train to concession?

Open
#4,908 5 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

This has occurred on multiple occasions where the AI player will refuse to play any cards after multiple mulligans. The AI logic seems to get into some sort of funk where every opportunity for it to respond or cast a spell, it takes a really long time to decide before eventually doing nothing. Even with no lands in play. It refuses to play lands, even to the point of discarding playable lands once it's hand limit is reached at the end step. So there might be multiple issues at the core of it:
1) refusal to play lands even when it has some
2) some sort of possible short circuit opportunity in the decision logic to skip extra steps if no lands or playable spells are in hand.

Here are some screen shots where the AI refused to play any lands and thus no spells for the entire game, even when it had the lands to play, as you can see by the contents of the graveyard.
![2018-04-17 23_29_02-greenshot](https://user-images.githubusercontent.com/6609665/39684835-b0f83afe-518c-11e8-98b9-0bf7bf1751e5.png)
![2018-04-18 00_18_43-greenshot](https://user-images.githubusercontent.com/6609665/39684840-b56d4ff2-518c-11e8-9cc3-d238fab4032e.png)

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.