Skip to content

iamgreen0x0e/emoji-minesweeper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

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 clcik 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

  • Emoji Minesweeper Themes
  • Mobile!

Zap ⚡

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

Why

WHY IS THIS A QUESTION?!

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.3%
  • HTML 46.7%