[FlatMC] AI doesn't play Dryad Arbor as its first land when it only has 2-mana spells in its hand

Open
#13,104 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
java
Domain
ai, game-dev

Research direction

Start by tracing FlatMC's land-play decisions and comparing them with the classic AI behavior described in the issue. Reproduce the hand with Dryad Arbor, Temple Garden, and two Silhana Ledgewalkers, then inspect the relevant AI tests or add a focused regression case. Done when FlatMC chooses Dryad Arbor first and can cast a two-mana spell on the following turn.

Written by the indexing model from the issue text.

Description

Describe the bug
AI has Dryad Arbor, Temple Garden and 2-mana spells in its hand. AI plays Temple Garden tapped, then AI plays Dryad Arbor and can't play other spells because Dryad Arbor has summoning sickness.

To Reproduce
Steps to reproduce the behavior:

  1. AI has Dryad Arbor, Temple Garden and 2 Silhana Ledgewalker in hand
  2. AI plays tapped Temple Garden
  3. At the next turn AI plays Dryad Arbor
  4. AI can't play Silhana Ledgewalker and passes the turn

Expected behavior
AI should play Dryad Arbor as its first land when it only has 2-mana spells (not auras) in its hand

Additional context
Actual for AI without FlatMC

Desktop

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

Screenshots

AI with FlatMC

First dryad (FlatMC) First dryad 2 (FlatMC)

AI without FlatMC, good!

First dryad 2 (Classic, good)
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.