pacman-contribution-graph 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.prettierrc ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "bracketSpacing": true,
3
+ "printWidth": 140,
4
+ "singleQuote": true,
5
+ "trailingComma": "none",
6
+ "tabWidth": 4,
7
+ "useTabs": true
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "recommendations": [
3
+ "esbenp.prettier-vscode"
4
+ ]
5
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "editor.formatOnSave": true,
3
+ "editor.codeActionsOnSave": {
4
+ "source.organizeImports": "always"
5
+ }
6
+ }
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # Contribution Graph Game
2
+
3
+ This JavaScript library transforms your GitHub or GitLab contribution graph into an interactive Pac-Man-style game. It offers a unique and engaging way to visualize your coding activity over the past year.
4
+
5
+ ## Features
6
+
7
+ - **Contribution Visualization**: Converts your GitHub or GitLab contribution data into a colorful grid.
8
+ - **Interactive Gameplay**: Navigate Pac-Man through your contribution graph, eating dots based on your actual commits.
9
+ - **Platform Support**: Compatible with both GitHub and GitLab contribution data.
10
+ - **Dynamic Grid**: The game grid adapts to your contribution history, with cell colors reflecting commit intensity.
11
+ - **Month Labels**: Displays month names above the grid for easy time reference.
12
+ - **Pac-Man Mechanics**:
13
+ - Pac-Man moves autonomously towards the nearest contribution cell.
14
+ - Mouth animation mimics the classic Pac-Man game.
15
+ - **Ghost AI**:
16
+ - Four ghosts with unique colors chase Pac-Man.
17
+ - Ghosts have different behaviors when Pac-Man has a power-up.
18
+ - **Power-Up System**: Pac-Man can activate a power-up after eating enough dots, turning ghosts blue and vulnerable.
19
+ - **Scoring**: Points are awarded for eating contribution dots and ghosts.
20
+ - **Game Over**: The game ends when all contribution dots are consumed, with an option to reset.