https://github.com/muan/emoji-minesweeper
:boom::bomb::boom:
https://github.com/muan/emoji-minesweeper
emoji game minesweeper
Last synced: 8 months ago
JSON representation
:boom::bomb::boom:
- Host: GitHub
- URL: https://github.com/muan/emoji-minesweeper
- Owner: muan
- License: mit
- Created: 2015-05-22T06:20:34.000Z (about 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2022-09-10T19:33:26.000Z (almost 4 years ago)
- Last Synced: 2024-10-24T16:07:24.836Z (over 1 year ago)
- Topics: emoji, game, minesweeper
- Language: JavaScript
- Homepage: https://muan.co/emoji-minesweeper/
- Size: 87.9 KB
- Stars: 870
- Watchers: 30
- Forks: 162
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-fonts - emoji-minesweeper - Minesweeper game made with emojis (Emojis)
README
# emoji-minesweeper [](https://github.com/feross/standard)
### How to play
- Left click to step on a spot
- Right click to mark a spot as a bomb
- Double click to open all 8 spots nearby a target (except ones already marked as bombs using right clicks)
**This is a work in progress**

### API
```javascript
// to start a new game
new Game(cols, rows, bombs, [emptyemoji, bombemoji, flagemoji, starteremoji], twemojiOrNot)
// for example:
new Game(10, 10, 10, ["🌱", "💥", "🚩", "◻️"], true)
new Game(16, 16, 30, ["🐱", "📛", "💣", "🔍"], false)
```
### Todos
- Mobile!
### Zap :zap:
:heart: https://github.com/twitter/twemoji
### Why
[WHY IS THIS A QUESTION?!](https://twitter.com/muanchiou/status/601633821012856832)