Skip to content

muan/emoji-minesweeper

gh-pages
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 9, 2019 10:00
November 30, 2015 23:46
November 18, 2016 22:02
October 20, 2019 14:29
October 20, 2019 14:41
October 20, 2019 14:29
October 20, 2019 14:41
November 11, 2016 11:15

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?!