Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmccormack/minesweeper
Simple Minesweeper Game in JS
https://github.com/cmccormack/minesweeper
game-development hacktoberfest hacktoberfest2020 minesweeper react typescript
Last synced: about 2 months ago
JSON representation
Simple Minesweeper Game in JS
- Host: GitHub
- URL: https://github.com/cmccormack/minesweeper
- Owner: cmccormack
- License: mit
- Created: 2019-10-02T15:28:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-01T11:55:52.000Z (about 2 years ago)
- Last Synced: 2024-04-16T10:09:15.928Z (9 months ago)
- Topics: game-development, hacktoberfest, hacktoberfest2020, minesweeper, react, typescript
- Language: TypeScript
- Homepage:
- Size: 7.05 MB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minesweeper
## Description
Simple Minesweeper Game in JS## Rules of Minesweeper
* A squares "neighbors" are the squares adjacent above, below, left, right, and all 4 diagonals. Squares on the sides of the board or in a corner have fewer neighbors. The board does not wrap around the edges.
* If you open a square with 0 neighboring bombs, all its neighbors will automatically open. This can cause a large area to automatically open.
* To remove a bomb marker from a square, point at it and right-click again.
* The first square you open is never a bomb.
* If you mark a bomb incorrectly, you will have to correct the mistake before you can win. * Incorrect bomb marking doesn't kill you, but it can lead to mistakes which do.
* You don't have to mark all the bombs to win; you just need to open all non-bomb squares.
* Right-clicking twice will give you a question mark symbol which can be useful if you are unsure about a square## Current Build
https://infallible-liskov-6d1d72.netlify.com/