https://github.com/sile/mineplacer
Prepare for a game of Minesweeper by placing mines!
https://github.com/sile/mineplacer
game minesweeper-style-game rust
Last synced: 3 months ago
JSON representation
Prepare for a game of Minesweeper by placing mines!
- Host: GitHub
- URL: https://github.com/sile/mineplacer
- Owner: sile
- License: apache-2.0
- Created: 2023-05-22T23:53:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T01:01:50.000Z (over 1 year ago)
- Last Synced: 2025-05-19T04:05:57.143Z (about 1 year ago)
- Topics: game, minesweeper-style-game, rust
- Language: Rust
- Homepage: https://sile.github.io/mineplacer/
- Size: 1.15 MB
- Stars: 114
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
README
Mineplacer
==========
This is a browser game inspired by Minesweeper.
You are the person preparing for a game of Minesweeper by placing mines!
[Play!](https://sile.github.io/mineplacer/)
How to Play
-----------
- Select a game level (8x15 or 16x30 or 16x30 with wormholes).
- Click on a cell to place a mine there.
- A digit in a cell indicates the number of mines that should be placed around the cell (including the cell itself).
- :warning: mark indicates there are too many mines around the cell.
- When wormholes exist, a part of non-mine cells are hidden.
- The condition for winning is that all mines are placed in the correct positions.
Enable Touch Gestures
--------------------
If the query string parameter `gesture=true` is provided, panning and pinch zoom gestures will be enabled.
Custom Mode
-----------
The board size and the number of mines/wormholes can be customized by using the following query string parameters:
- `width` (between 16 and 64, default to 16)
- `height` (between 16 and 64, default to 30)
- `mines` (between 1 and 999, default to 99)
- `wormholes` (between 0 and 999, default to 99)
For example, you can play with the maximum settings via the following URL:
- https://sile.github.io/mineplacer?gesture=true&width=64&height=64&mines=999&wormholes=999
Screenshot
----------
