From 6e5fc0c769a64a8a3e29d6d8c7612e8366d2276d Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sun, 1 Mar 2015 11:47:21 +0000 Subject: [PATCH 1/5] Update README.md tidying up formatting --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4443f2c..1bfd948 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,18 @@ Left-click to clear a tile. Right-click to flag a mine. Middle-click a number to ## stuff to add move middle-click functionality to left-click instead + add support for mobile devices/1-button mice (probably hold down to flag a mine) + setup screen for difficulty/board size options + scoring system (no. rows cleared/no. mines cleared, possibly timer) + game over screen/restart button ## bugs On clearing a row, blank tiles do not 'cascade' and reveal their adjacent tiles + Game adds too many rows and they appear off the bottom of the screen + middle-clicking causes middle-click-scroll to happen; this is probably related to above issue From 4a702b79ffc51b6d549c479e436b7d1a9baf1cae Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sun, 1 Mar 2015 11:49:44 +0000 Subject: [PATCH 2/5] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1bfd948..37db3b3 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ scoring system (no. rows cleared/no. mines cleared, possibly timer) game over screen/restart button +make flags permanent to prevent cheating? + ## bugs On clearing a row, blank tiles do not 'cascade' and reveal their adjacent tiles From 3380c61512daea91e1e0a0bfa0d8a7d9327310c0 Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sun, 1 Mar 2015 11:59:57 +0000 Subject: [PATCH 3/5] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 37db3b3..ad98162 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ game over screen/restart button make flags permanent to prevent cheating? +make middle click work on revealed mines and not just flagged mines + ## bugs On clearing a row, blank tiles do not 'cascade' and reveal their adjacent tiles From a726760758068c13cc784e27bc9610fabc365f0c Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sun, 1 Mar 2015 12:02:23 +0000 Subject: [PATCH 4/5] Properly cascade blank tiles on clearing a row --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 43e7098..66c8dc2 100644 --- a/index.html +++ b/index.html @@ -209,6 +209,9 @@ //refresh last row to reflect new rows beneath $('li.revealed').last().parent().children('li.revealed').mousedown(); + + //click blank tiles + $('li.revealed:not(.mine):empty').mousedown(); }); $('ul:hidden').show(); From 47e3ab689d48e8efa70b8ef5eb053ac59eaaa81f Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sun, 1 Mar 2015 12:03:36 +0000 Subject: [PATCH 5/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ad98162..050d1ad 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,9 @@ make flags permanent to prevent cheating? make middle click work on revealed mines and not just flagged mines -## bugs -On clearing a row, blank tiles do not 'cascade' and reveal their adjacent tiles +save game using html5 local storage so player can come back later +## bugs Game adds too many rows and they appear off the bottom of the screen middle-clicking causes middle-click-scroll to happen; this is probably related to above issue