rzurad / minesweeper Goto Github PK
View Code? Open in Web Editor NEWA web browser clone of Microsoft Minesweeper
Home Page: http://rzurad.github.io/minesweeper
A web browser clone of Microsoft Minesweeper
Home Page: http://rzurad.github.io/minesweeper
The recursive call to makeRandomBomb
doesn't pass the original x, y arguments through, so there's a chance that the recursive call to makeRandomBomb
will spawn a bomb on the coordinates that were clicked.
Maek fix.
One of these days, I'll probably want to play this on my phone. As it stands, there is no "right-click" on a phone... :-/
It gets annoying to have to switch from "Beginner" difficulty every time the page loads.
Spaced out on this one. Should probably respond to either middle-click or simultaneous left-and-right click.
I'm guessing mobile won't get this shortcut.
Even though most games don't last that long, it would be neat if the game would serialize itself into localstorage, so that way if you have a massive custom board, you could leave and come back to it.
After a certain length of time, the timer should just say "SLOW", rather than continuously tick up and potentially render several thousands of minutes.
Entire repo is untested, which is generally what happens when you hack something together out of boredom.
It'd be useful to add QUnit tests.
Add "custom" difficulty, which lets users choose the height, width, and mine density of the board.
๐
Yeah... right...
Everything has a favicon these days. Make it so.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.