Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.9.0]

#### New Features

- Added 10 new game levels (91–100).
Comment on lines +1 to +5

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

MD001: heading level jumps from h2 (##) directly to h4 (####), skipping h3.

This rule is triggered when you skip heading levels in a Markdown document — nested headings should increase by only one level at a time. This is flagged by the static analysis tool and applies to the new entry (and is consistent with every prior version block in the file).

The cleanest fix for the new entry alone is to use ### instead of ####. Alternatively, since this pattern is used throughout the entire file, consider adding a .markdownlint.json / .markdownlint.yaml config to disable or configure MD001 project-wide, or do a single pass updating all #### subheadings to ###.

🔧 Proposed fix for the new entry
 ## [1.9.0]
 
-#### New Features
+### New Features
 
 - Added 10 new game levels (91–100).
📝 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
## [1.9.0]
#### New Features
- Added 10 new game levels (91–100).
## [1.9.0]
### New Features
- Added 10 new game levels (91–100).
🧰 Tools
🪛 markdownlint-cli2 (0.21.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` around lines 1 - 5, The changelog entry for the 1.9.0 release
jumps from H2 ("## [1.9.0]") to H4 ("#### New Features"), which violates MD001;
update the "#### New Features" heading to "### New Features" for this entry (or,
if you prefer a global change, add a .markdownlint.json/.markdownlint.yaml to
disable/configure MD001 or convert all "####" subheadings to "###" across the
file) so headings increase by only one level at a time.


## [1.8.0]

#### New Features
Expand Down
12 changes: 6 additions & 6 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 31;
CURRENT_PROJECT_VERSION = 32;
DEVELOPMENT_TEAM = G4KB5U6326;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -505,7 +505,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.8.0;
MARKETING_VERSION = 1.9.0;
PRODUCT_BUNDLE_IDENTIFIER = com.khlebobul.pegma;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down Expand Up @@ -683,7 +683,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 31;
CURRENT_PROJECT_VERSION = 32;
DEVELOPMENT_TEAM = G4KB5U6326;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -693,7 +693,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.8.0;
MARKETING_VERSION = 1.9.0;
PRODUCT_BUNDLE_IDENTIFIER = com.khlebobul.pegma;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand All @@ -709,7 +709,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 31;
CURRENT_PROJECT_VERSION = 32;
DEVELOPMENT_TEAM = G4KB5U6326;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -719,7 +719,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.8.0;
MARKETING_VERSION = 1.9.0;
PRODUCT_BUNDLE_IDENTIFIER = com.khlebobul.pegma;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down
11 changes: 11 additions & 0 deletions lib/data/levels/level_100.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "0", "0", "0", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"],
["1", "1", "0", "1", "0", "1", "1"],
["1", "1", "1", "1", "1", "1", "1"],
["1", "1", "0", "0", "0", "1", "1"],
["x", "x", "0", "1", "0", "x", "x"],
["x", "x", "0", "1", "0", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_91.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "0", "0", "0", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"],
["0", "1", "1", "1", "1", "1", "0"],
["0", "1", "1", "0", "1", "1", "0"],
["0", "1", "1", "1", "1", "1", "0"],
["x", "x", "1", "1", "1", "x", "x"],
["x", "x", "0", "0", "0", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_92.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "1", "1", "1", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"],
["0", "0", "0", "0", "0", "0", "0"],
["1", "1", "1", "1", "1", "1", "1"],
["0", "0", "0", "0", "0", "0", "0"],
["x", "x", "1", "1", "1", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_93.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "1", "1", "1", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"],
["0", "0", "0", "1", "0", "0", "0"],
["0", "1", "1", "1", "1", "1", "0"],
["0", "1", "1", "1", "1", "1", "0"],
["x", "x", "1", "1", "1", "x", "x"],
["x", "x", "0", "1", "0", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_94.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "1", "1", "1", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"],
["0", "1", "1", "0", "1", "1", "0"],
["0", "1", "1", "1", "1", "1", "0"],
["0", "1", "1", "0", "1", "1", "0"],
["x", "x", "0", "0", "0", "x", "x"],
["x", "x", "0", "0", "0", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_95.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "0", "1", "0", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"],
["1", "1", "1", "1", "1", "1", "1"],
["1", "1", "1", "0", "1", "1", "1"],
["0", "0", "1", "1", "1", "0", "0"],
["x", "x", "0", "1", "0", "x", "x"],
["x", "x", "0", "0", "0", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_96.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "1", "0", "1", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"],
["0", "1", "0", "0", "0", "1", "0"],
["1", "1", "1", "0", "1", "1", "1"],
["1", "1", "0", "1", "0", "1", "1"],
["x", "x", "0", "1", "0", "x", "x"],
["x", "x", "0", "0", "0", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_97.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "0", "0", "0", "x", "x"],
["x", "x", "0", "1", "0", "x", "x"],
["0", "1", "1", "1", "1", "1", "1"],
["0", "1", "1", "1", "1", "1", "0"],
["1", "0", "1", "1", "1", "0", "0"],
["x", "x", "1", "1", "1", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_98.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "0", "0", "0", "x", "x"],
["x", "x", "0", "1", "0", "x", "x"],
["0", "1", "1", "1", "1", "1", "0"],
["1", "1", "1", "0", "1", "1", "1"],
["1", "1", "1", "1", "1", "1", "1"],
["x", "x", "0", "1", "0", "x", "x"],
["x", "x", "0", "1", "0", "x", "x"]
]
}
11 changes: 11 additions & 0 deletions lib/data/levels/level_99.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"board": [
["x", "x", "0", "1", "0", "x", "x"],
["x", "x", "1", "1", "1", "x", "x"],
["0", "0", "1", "1", "1", "0", "0"],
["1", "1", "0", "1", "0", "1", "1"],
["0", "1", "1", "0", "1", "1", "0"],
["x", "x", "1", "1", "1", "x", "x"],
["x", "x", "0", "0", "0", "x", "x"]
]
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: pegma
description: "A free and cross-platform version of the classic Peg solitaire! Enjoy the timeless puzzle on your mobile device!"
publish_to: 'none'
version: 1.8.0+31
version: 1.9.0+32

environment:
sdk: ^3.8.1
Expand Down