4 ms·
Because you know that after reading about minesweeper, a person naturally wants to play minesweeper. Thanks! One thing I noticed though - in oldschool mineswe
by tempestn 10y ago
Because you know that after reading about minesweeper, a person naturally wants to play minesweeper. Thanks!
One thing I noticed though - in oldschool minesweeper, left click would test, and right would flag. Right seems to always flag here, but left sometimes tests, and sometimes toggles. Regardless, bookmarked.
- ronilan 10y agoIndeed. A left click on a flagged cell will unflag it. Don't remember why I implemented it this way. Maybe for touch screens which don't have the right click functionality. Btw, source is here: http://ronilan.com/bugsweeper/js/bugsweeper.js http://ronilan.com/bugsweeper/js/bugsweeper.js it is with jquery. Don't ask me why.
- tempestn 10y agoWhat I'm referring to though is the case where left-clicking on an UNflagged square flags it. Doesn't seem like that should happen. I'm not sure exactly when it was happening - perhaps the first left click after a right-click flag? Or the first one after a chord?
- deleted 10y ago[deleted]