roachhd / emoji-minesweeper

:boom::bomb::boom:

Home Page:http://muan.co/emoji-minesweeper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emoji-minesweeper js-standard-style

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

API

// 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 ⚑

❀️ https://github.com/twitter/twemoji

Why

WHY IS THIS A QUESTION?!

About

:boom::bomb::boom:

http://muan.co/emoji-minesweeper/


Languages

Language:JavaScript 52.0%Language:HTML 48.0%