Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muan/emoji-minesweeper
:boom::bomb::boom:
https://github.com/muan/emoji-minesweeper
emoji game minesweeper
Last synced: 1 day 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 (over 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2022-09-10T19:33:26.000Z (over 2 years ago)
- Last Synced: 2024-10-24T16:07:24.836Z (about 2 months 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 [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](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**
![emoji minesweeper game play demo](https://cloud.githubusercontent.com/assets/1153134/7797311/19c09214-031d-11e5-99c3-2a380ac7984e.gif)
### 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)