[FlatMC] AI prefers to play Horizon Canopy rather than Forest

Aperta
#13,105 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
ai, game-dev

Direzione di ricerca

Start by locating the FlatMC mana and land selection logic, then compare its choices with the classic AI behavior described in the issue. Reproduce the hand and turns listed in the report. Done means FlatMC chooses lands that meet the current and next turn's mana needs without paying life unnecessarily.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug
AI prefers to play Horizon Canopy rather than Forest even if in need only green to cast Slippery Bogle and 1W to play other spells. So AI loses life for nothing

To Reproduce
Steps to reproduce the behavior:

  1. AI has 2 Horizon Canopy, Forest, Slippery Bogle and Reprieve in hands
  2. AI plays Horizon Canopy and casts Slippery Bogle
  3. At the next turn plays second Horizon Canopy

Expected behavior
AI should play Horizon Canopy first if it needs to cast spells costing one white mana this turn. If it only needs green mana on the first turn and doesn't need WW on the second turn, it should play Forest first.

Additional context
Actual for AI without FlatMC

Desktop

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

Screenshots

AI with FlatMC

pain (flatMC) pain 2 (flatMC)

AI without FlatMC (good!)

forest (classic) forest 2 (classic)
Lingua principale
Java
Stelle
2.7k
Fork
1.1k
Merge medio
20h 38m
PR unite (30g)
323

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Card-Forge/forge

Tutte le issue di Card-Forge/forge

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.