Offer more computer difficulty levels than three
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- game-dev
調査の方向性
Read js/ai.js lines 13–17, then inspect the settings selector and saved-setting migration in js/config.js and js/main.js. Run npm test and review tests/unit/ai-strength.test.js to understand how strength is measured. Done when old easy, medium, and hard settings retain their strengths and every new level tests measurably stronger than the one below.
索引モデルが issue の本文から書いたものです。
説明
Summary
The computer has only three levels, and the gap between them is large. Offer a finer scale, for example 1 to 6, built from the knobs the engine already has: depth, thinking time, blunder rate and tolerance.
Where
js/ai.js:13-17(AI_LEVELS: easy is depth 1 with 30% blunders, medium is depth 2, hard is depth 3 with a 1 s timed search)- The settings level selector, and the migration of the saved setting
Impact
Improving players get a step between medium and hard, and beginners get something gentler than easy. Stronger levels depend on a faster move generator, which is tracked separately (move generation dominates search).
Suggested fix
Turn AI_LEVELS into a numbered scale. Map today's easy, medium and hard to three of its steps, so saved settings keep their meaning. Add the new steps around them.
Open question: should this wait for #160 (a record of results against the computer), which could suggest a level?
Acceptance criteria
- Saved settings of easy, medium and hard still load as the same strength.
- Each level plays measurably stronger than the one below it in the existing
ai-strengthtests.
Getting started
- Relevant files:
js/ai.js,js/config.js,js/main.js(settings),tests/unit/ai-strength.test.js - How to run tests:
npm test
Filed by repo-audit/full-audit at 01c6a35. Severity: low. Effort: S. audit-key: enhancement|js/ai.js|AI_LEVELS
- 主要言語
- JavaScript
- スター
- 4
- フォーク
- 2
- 平均マージ
- 22時間 16分
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TMHSDigital/Static_Chess のほかの issue
-
enhancement help wanted severity: low
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
TMHSDigital/Static_Chess#182 ·
メンテナーはふだん 1 日以内に返信
-
help wanted severity: medium tech-debt
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
TMHSDigital/Static_Chess#173 ·
メンテナーはふだん 1 日以内に返信
-
severity: medium tech-debt
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
TMHSDigital/Static_Chess#171 ·
メンテナーはふだん 1 日以内に返信
-
help wanted performance severity: medium
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
TMHSDigital/Static_Chess#168 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted severity: low
難易度 4/5 3〜5日 初心者へのやさしさ 61/100
TMHSDigital/Static_Chess#161 ·
メンテナーはふだん 1 日以内に返信
TMHSDigital/Static_Chess の issue をすべて見る
似ている issue
-
priority: low server testing
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
blamechris/chroxy#9277 ·
メンテナーはふだん 1 日以内に返信
-
[MCP]: page snapshots in .playwright-mcp/ are not git-ignored (.playwright-cli/ is, since #42318)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
microsoft/playwright#44289 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Ionaru/easy-markdown-editor#657 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
TMHSDigital/Free-Game-Dev-Assets#320 ·
メンテナーはふだん 1 日以内に返信
-
area:webapp bug finding
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信