Coder Social home page Coder Social logo

emoji-minesweeper's Introduction

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

emoji-minesweeper's People

Contributors

eush77 avatar francisfuzz avatar ionicabizau avatar javierbyte avatar jsstrn avatar muan avatar nkantar avatar notwaldorf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emoji-minesweeper's Issues

Some bugs

When there is only one column, there is a very high chance that whichever you press, it always show game over.
When there is two columns, there is a very high chance that the numbers don't show the true number of mine around them.
Screen Shot 2020-05-22 at 1 20 13 PM

Use emoji images

This is how it looks on my machine:

image

I see that it uses the AppleColorEmoji font, but that is not loaded on my machine.

image

So, what I propose is to use the emoji images. 💣 Nice project, btw! 😄

Shortcut keys✌🏻 for Restart Game💎 ?

R for restart. i will work on this after i finish on my jquery!
Btw amazing work , am even trying to make this into an iOS app using Swift as am learning the language, will try no promises haha.

Leaderboard

Not sure what would be the most lightweight way to do this...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.