Skip to content

New levels 111 120 - #32

Merged
khlebobul merged 5 commits into
mainfrom
new_levels_111-120
Mar 28, 2026
Merged

khlebobul merged 5 commits into
mainfrom
new_levels_111-120

Conversation

@khlebobul

@khlebobul khlebobul commented Mar 28, 2026 •

Copy link
Copy Markdown
Owner

Checklist

Change type

  • bugfix
  • new lvl
  • new feature
  • other

Summary by CodeRabbit

  • New Features

    • Added 10 new game levels (111–120) to expand playable content.
  • Chores

    • Bumped app version to 1.11.0 (build +35) and updated release metadata.
    • Added initial DevTools extension configuration for debugging/inspection.
  • Tests

    • Improved level solvability tests with performance logging and a faster solver implementation.

@coderabbitai

coderabbitai Bot commented Mar 28, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d2b0ce44-be1d-4c6e-8f5b-105dec9dd392

📥 Commits

Reviewing files that changed from the base of the PR and between 11b5630 and d12f1bf.

📒 Files selected for processing (6)
  • devtools_options.yaml
  • ios/Runner.xcodeproj/project.pbxproj
  • lib/data/levels/level_118.json
  • lib/data/levels/level_120.json
  • pubspec.yaml
  • test/levels_solvability_test.dart

📝 Walkthrough

Walkthrough

Bumps app version to 1.11.0+35, adds DevTools metadata, adds 10 new level JSONs (levels 111–120), updates iOS build settings and changelog, and replaces the levels solvability test solver with a bitboard-based implementation plus per-level timing.

Changes

Cohort / File(s) Summary
Version & Changelog
CHANGELOG.md, pubspec.yaml, ios/Runner.xcodeproj/project.pbxproj
Updated release entry and bumped version from 1.10.0+33 to 1.11.0+35 (MARKETING_VERSION → 1.11.0, CURRENT_PROJECT_VERSION → 35).
New Game Levels
lib/data/levels/level_111.json, lib/data/levels/level_112.json, lib/data/levels/level_113.json, lib/data/levels/level_114.json, lib/data/levels/level_115.json, lib/data/levels/level_116.json, lib/data/levels/level_117.json, lib/data/levels/level_118.json, lib/data/levels/level_119.json, lib/data/levels/level_120.json
Added 10 new level definition files, each a 7×7 JSON board grid of string tokens ("x", "0", "1").
Test: Solver rewrite & timing
test/levels_solvability_test.dart
Replaced the previous board/backtracking solver with a bitboard-based solver (precomputed move templates, int state bitmask, visited Set), added per-level Stopwatch timing and debugPrint of results.
DevTools config
devtools_options.yaml
Added initial DevTools extension configuration metadata file.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

  • 10 new levels #5: Adds batches of new level JSON files and updates changelog/version metadata (similar file additions and release bump).
  • New classic level #29: Modifies test/levels_solvability_test.dart (related test-area changes; both PRs alter solver/test logic).
  • New levels 40 #11: Updates version metadata in pubspec.yaml and iOS project while adding level JSONs (overlaps on config and level additions).

Suggested labels

new levels

Poem

🐰 New boards beneath my paws I bring,
Ten puzzles placed in a cheery ring.
Versions bumped, the changelog sings,
Timers tick as solvers spring—
Hoppity-hop, let the level bells ring!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'New levels 111 120' clearly and specifically summarizes the main change: adding 10 new game levels numbered 111 through 120, which matches the changeset perfectly.
Description check ✅ Passed The pull request description follows the template structure with the 'Change type' section completed, correctly marking 'new lvl' as the appropriate category for this level addition.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch new_levels_111-120

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@CHANGELOG.md`:
- Line 3: The markdown heading "New Features" is using #### which jumps levels
from the document's H2; change the heading level for "New Features" from #### to
### so the heading increments correctly (i.e., replace the "New Features"
heading token to use three hashes instead of four).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5046902a-fd59-4443-a12d-e1c97271a74c

📥 Commits

Reviewing files that changed from the base of the PR and between a3e4e37 and 11b5630.

📒 Files selected for processing (13)
  • CHANGELOG.md
  • ios/Runner.xcodeproj/project.pbxproj
  • lib/data/levels/level_111.json
  • lib/data/levels/level_112.json
  • lib/data/levels/level_113.json
  • lib/data/levels/level_114.json
  • lib/data/levels/level_115.json
  • lib/data/levels/level_116.json
  • lib/data/levels/level_117.json
  • lib/data/levels/level_118.json
  • lib/data/levels/level_119.json
  • lib/data/levels/level_120.json
  • pubspec.yaml

Comment thread CHANGELOG.md
@@ -1,3 +1,9 @@
## [1.11.0]

#### New Features

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix heading level jump flagged by markdownlint (MD001).

Line 3 jumps from ## (Line 1) to ####. Use ### to keep heading increments valid.

Suggested fix
-#### New Features
+### New Features
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
#### New Features
#### New Features
Suggested change
#### New Features
### New Features
🧰 Tools
🪛 markdownlint-cli2 (0.22.0)

[warning] 3-3: Heading levels should only increment by one level at a time
Expected: h3; Actual: h4

(MD001, heading-increment)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@CHANGELOG.md` at line 3, The markdown heading "New Features" is using ####
which jumps levels from the document's H2; change the heading level for "New
Features" from #### to ### so the heading increments correctly (i.e., replace
the "New Features" heading token to use three hashes instead of four).

@khlebobul

Copy link
Copy Markdown
Owner Author
image

@khlebobul
khlebobul merged commit 16fd654 into main Mar 28, 2026
1 of 2 checks passed
@khlebobul
khlebobul deleted the new_levels_111-120 branch March 28, 2026 13:51
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