AI keeps hand with only lands and auras and play untapped shockland

Open
#12,929 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
ai, game-dev

Research direction

Start by reproducing the described opening hand with lands and creature auras but no creatures, using both FlatMC and Classic AI if available. Trace the AI's opening hand keep decision and its choice to play Temple Garden untapped. Done means the AI rejects this hand or otherwise avoids the reported pass with an unusable aura hand; the issue names no source files or tests.

Written by the indexing model from the issue text.

Description

Describe the bug
AI didn't have any 1-mana cards in hand, aside from auras, that it could play, but it still plays Temple Garden untapped and passes the turn

To Reproduce
Steps to reproduce the behavior:

  1. AI keeps hand with lands and Auras but without creatures
  2. AI plays Temple Garden untapped
  3. AI passes the turn

Expected behavior
AI shouldn't keep hand only with lands and auras for its creatures without this creatures

Additional context
Actual for:

  • AI with FlatMC
  • AI without FlatMC

Desktop

  • OS: Windows 10
  • Version: 2.0.16-SNAPSHOT-11.15

Screenshots

FlatMC (left) and Classic (right)

aura both
Dominant language
Java
Stars
2.7k
Forks
1.1k
Avg merge
19h 28m
Merged PRs (30d)
316

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Card-Forge/forge

All issues in Card-Forge/forge

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.