AI casts Reprieve in response to a player's spell, which the player can cast again

オープン
#13,103 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java
領域
ai, game-dev

調査の方向性

Start by locating the AI logic that decides whether to cast Reprieve in response to a spell, including both FlatMC and classic AI paths. Read how those paths weigh returning a spell when the player can pay to cast it again. Reproduce the Noble Hierarch scenario from the issue, then verify the AI avoids Reprieve when the player has enough untapped Forests to recast it.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug
AI casts Reprieve to return Noble Hierarch spell to the player’s hand, but the player has plenty of untapped lands to cast this Noble Hierarch again

To Reproduce
Steps to reproduce the behavior:

  1. Player has 5+ Forests on the battlefield
  2. Player has Noble Hierarch in hand
  3. AI has 2+ untapped Plains on the battlefield
  4. AI has Reprieve in hand
  5. Player casts Noble Hierarch
  6. AI casts Reprieve to return Noble Hierarch spell to the player’s hand
  7. Player casts Noble Hierarch again

Expected behavior
AI shouldn't cast Reprieve in response to a player's spell, which the player can cast again

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

reprieve (flatMC)

AI without FlatMC

reprieve (classicAI)
主要言語
Java
スター
2.7k
フォーク
1.1k
平均マージ
20時間 38分
マージ済み PR(30日)
323

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Card-Forge/forge のほかの issue

Card-Forge/forge の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。