Giter Site home page Giter Site logo

html5-minesweeper's Introduction

HTML5-Minesweeper

Minesweeper game using jQuery and HTML5 canvas.

Online demo can be found here at joeyvo.me/HTML5-minesweeper

Now featured on Chrome Experiments

Follow news and developments on twitter: @Joeynoh

Current version: 3.0.1

New
  • Speed solving, right click on a revealed square
  • Faster mine index algorithm
  • Listener put on mouseup rather than mousedown
  • Retina support (contributed by meltingice)
  • Image preloading
  • Replaced that Github ribbon
  • Game no longer automatically resets after a win or loss
Previous versions
  • Brand new and more complete UI
  • Better interaction
  • Custom animations on the playingfield
  • New images
  • Scoreboard and use of local storage for scores
  • Refactoring and optimization
  • Some bug fixes
  • New UI
  • New difficulty features
  • Click on empty square, reveal larger space up until other numbered squares
  • Timer
  • Better grid, using rounded squares
  • Fixed numerous issues like unflagging and clicking after the game has been won or lost
  • Added mine and flag counters
  • Created a reset function so the page no longer needs to refresh to start over

TODO

  • Score algorithm

Inspired by: https://github.com/wbrowne/HTML5-Minesweeper

html5-minesweeper's People

Contributors

joeynoh avatar meltingice 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

Watchers

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

html5-minesweeper's Issues

Game can be 'won' if user sets a flag on every tile

The build in check currently compares with every mine if there's a flag set on on it. And you can set unlimited flags so user can win the game without really playing and setting flags on every mine or 'possible' mine.

mijnenveger html5 fout

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.