From 31d45fcb56bf13c65238e06d4a20b9d3c9d03b5b Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Fri, 6 Mar 2015 11:44:37 +0000 Subject: [PATCH 1/4] Update README.md --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 17667ba..5ef4949 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,4 @@ Need to test on mobile devices etc. ## bugs the player can cheat under certain conditions; if there is only one tile left on a row, the player can flag it and if it is a mine, the row will clear. if not, the player can unflag it and click it. not sure how big a deal this is really. -the game adds too many rows and then deletes the extra rows, instead of just adding the correct number of rows in the first place. this is due to the row clearing method nesting and adding the new rows several times as a result - -the scoring system is wrong due to the above problem; if any tiles cascade during removal of rows, the score is added again for each step of the cascade leading to vastly inflated scores - -game is apparently broken in Safari (not sure which version) +game is apparently broken in Safari (not sure which version) and iPhone From a510ea01add39cd53601503f1c2b6a5bcf3b7d69 Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Fri, 6 Mar 2015 11:48:06 +0000 Subject: [PATCH 2/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5ef4949..9887ce1 100644 --- a/README.md +++ b/README.md @@ -18,3 +18,5 @@ Need to test on mobile devices etc. the player can cheat under certain conditions; if there is only one tile left on a row, the player can flag it and if it is a mine, the row will clear. if not, the player can unflag it and click it. not sure how big a deal this is really. game is apparently broken in Safari (not sure which version) and iPhone + +colours used are not safe for red-green colourblindness From 6fddbbf5d2fdf1d3cb9a714a1a0320a576a59a02 Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sat, 7 Mar 2015 11:54:23 +0000 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9887ce1..a29911b 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,6 @@ Need to test on mobile devices etc. ## bugs the player can cheat under certain conditions; if there is only one tile left on a row, the player can flag it and if it is a mine, the row will clear. if not, the player can unflag it and click it. not sure how big a deal this is really. -game is apparently broken in Safari (not sure which version) and iPhone +need a fallback for browsers that don't support CSS3 viewport sizing colours used are not safe for red-green colourblindness From 76aa1592d8ce83f57a6d5827f48404d23342d39d Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sun, 8 Mar 2015 21:48:03 +0000 Subject: [PATCH 4/4] Various changes Added help text Removed unused variables Refactored "add new mine" functionality Added funcionality for removing cleared columns (disabled for now) --- index.html | 172 ++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 118 insertions(+), 54 deletions(-) diff --git a/index.html b/index.html index a280da4..125e72c 100644 --- a/index.html +++ b/index.html @@ -66,8 +66,8 @@ } #setup h1 { - margin-top: 8vmin; - margin-bottom: 8vmin; + margin-top: 6vmin; + margin-bottom: 6vmin; } #setup h2 { @@ -109,7 +109,7 @@ position: absolute; left: 38vmin; - top: 59vmin; + top: 75vmin; background: #768087; background: -moz-linear-gradient(top, #768087 0%, #53595e 100%); @@ -207,17 +207,25 @@ li.mines8 { color: #8c4600; } + + p { + color: #fff; + font-size: 4.3vmin; + padding: 0 10vmin; + } + + strong { + color: #fe7ac6; + }