Skip to content

Add adaptive difficulty scaling based on player performance #28

Description

@Mkalbani

Description

Difficulty tiers are currently static per puzzle. Add an adaptive system that nudges difficulty up or down based on the player's recent accuracy and hint usage, so sessions stay appropriately challenging without requiring manual tier selection.

Acceptance Criteria

  • DifficultyTracker struct records rolling accuracy and hint-usage over the last N puzzles
  • Difficulty adjustment algorithm documented in docs/difficulty.md with the exact thresholds used
  • --adaptive CLI flag opts into adaptive mode (off by default to preserve existing behavior)
  • Adjustment is bounded so difficulty cannot skip more than one tier per puzzle
  • Unit tests simulate streaks of correct/incorrect answers and assert expected tier transitions

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions