jair0305/GitHub Contribution Minesweeper
Generate an animated Minesweeper game from your GitHub contributions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_user_name | GitHub username to generate minesweeper for | yes | — |
| github_token | GitHub token for API access | yes | — |
| output_path | Directory to output generated SVGs | no | dist |
| mine_strategy | How to place mines: all-contributions, top-contributors, or percentage | no | all-contributions |
| mine_percentage | Percentage of active days to be mines (for percentage strategy, 0.05-0.50) | no | 0.15 |
| animation_speed | Animation speed in milliseconds (higher = slower) | no | 100 |
Outputs
| name | description |
|---|---|
| svg_path | Path to the generated light mode SVG |
| svg_dark_path | Path to the generated dark mode SVG |
| board_size | Size of the generated board (e.g., 52x7) |
| total_mines | Total number of mines on the board |
| moves | Number of moves in the solution |
| is_won | Whether the game was won |