AI casts Soul Spike to kill mana dork in the early game, exiling cheap removal spells

Open
#13,106 0 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
49/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
ai, game-dev

Research direction

The report identifies an AI card choice involving Soul Spike, Fatal Push, and Sovereign's Bite, but names no source files or tests. Start by searching the Java code for Soul Spike's AI evaluation and existing tests for AI spell choices; compare how both FlatMC and classic AI choose cards to exile. Done means the AI prefers the cheaper removal when appropriate and preserves Soul Spike or higher-value cards in the reported scenario.

Written by the indexing model from the issue text.

Description

Describe the bug
AI prefers to cast Soul Spike to kill the Noble Hierarch in the early game, exiling Fatal Push, with which it was able to kill that Noble Hierarch.

To Reproduce
Steps to reproduce the behavior:

  1. AI has untapped swamp on the battlefield
  2. AI has Soul Spike, Fatal Push and Sovereign's Bite in hand
  3. Player casts Noble Hierarch
  4. AI casts Soul Spike and exiles Fatal Push and Sovereign's Bite from hand.

Expected behavior
AI should hold onto Soul Spike, prioritising other spells, and try to exile more expensive cards where possible, such as Chancellor of the Dross or a second copy of Necrodominance

Additional context
Actual for:

  • AI with FlatMC
  • AI without FlatMC

Desktop

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

Screenshots

AI with FlatMC

spike (flatMC)

AI without FlatMC

spike (classic AI)
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.