AI doesn't take into account that Malevolent Rumble gives it extra mana

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

Research direction

Start by tracing the AI's mana calculation and card evaluation for Malevolent Rumble, then check how the rules engine represents its Eldrazi Spawn token and sacrifice ability. Reproduce the listed turn with two untapped Overgrown Tombs and the three cards in hand. Done when the AI accounts for the token's {C} mana and can cast both the two-mana spell and Malevolent Rumble when legal.

Written by the indexing model from the issue text.

Description

Describe the bug
AI plays third Overgrown Tomb tapped and plays Malevolent Rumble with 2-mana spell in hand or AI plays 2-mana spell with Malevolent Rumble in hand. But it can play both because Malevolent Rumble creates a 0/1 colorless Eldrazi Spawn creature token with “Sacrifice this token: Add {C}.”

To Reproduce
Steps to reproduce the behavior:

  1. AI has 2 untapped Overgrown Tombs on the battlefield
  2. AI has Malevolent Rumble, Overgrown Tomb and 2-mana card (Vampire Hexmage, Emperor of Bones, even Overlord of the Balemurk) in hand
  3. AI plays third Overgrown Tomb tapped
  4. AI casts only one 2-mana spell

Expected behavior
AI should take into account that Malevolent Rumble gives it extra mana

Additional context
Actual for:

  • AI with FlatMC
  • AI without FlatMC

Desktop

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

Screenshots

AI with FlatMC

rumble (flatmc)

AI without FlatMC

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