Skip to content

feat: release v2.2.0#59

Merged
FlysonBot merged 13 commits intomainfrom
release/v2.2.0
Mar 14, 2026
Merged

feat: release v2.2.0#59
FlysonBot merged 13 commits intomainfrom
release/v2.2.0

Conversation

@FlysonBot
Copy link
Owner

@FlysonBot FlysonBot commented Mar 14, 2026

feat: release v2.2.0

  • variable game parameters (c and d)
  • assisted mode undo support and solution elimination %
  • hide code input when player sets code
  • Python test suite for all gamemodes
  • CI coverage workflow for Python and Java
  • fix non-standard Maven test directory name

Summary by Sourcery

Release version 2.2.0 with configurable game settings, enhanced assisted mode UX, expanded automated testing, and combined Python/Java coverage reporting.

New Features:

  • Allow players to configure colors, code length, and max tries across game modes via shared prompts.
  • Support undo operations and display solution elimination percentages in assisted mode.
  • Hide human-entered secret codes when setting the secret in applicable game modes.

Bug Fixes:

  • Normalize Java test source directory naming in project metadata to use the standard src/test/java layout.

Enhancements:

  • Refactor game modes to use shared prompts for settings and secret selection, improving consistency and code reuse.
  • Update in-game rules and messaging to reflect variable game parameters and clearer feedback descriptions.
  • Promote the package to a stable production release and update project metadata accordingly.

Build:

  • Add JaCoCo Maven plugin configuration to generate Java coverage reports.
  • Configure pytest paths and Python path in pyproject.toml and add a dev dependency group for test tooling.

CI:

  • Add a coverage workflow that runs Python and Java tests, publishes coverage artifacts, and reports to Coveralls and Codacy.
  • Adjust the PyPI release workflow to be manually triggered and update the checkout action reference.

Documentation:

  • Refresh README badges to highlight testing and coverage status, and tweak contributor documentation to match the current test layout and project status.

Tests:

  • Introduce a Python test suite for human, computer, and assisted game modes including feedback parsing, with shared JVM startup for tests and extensive mocking of UI and Java integration.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@FlysonBot FlysonBot merged commit 289579d into main Mar 14, 2026
10 of 12 checks passed
@FlysonBot FlysonBot deleted the release/v2.2.0 branch March 14, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant