Florine W. Dekker
53dd327786
Add draft implementation of high scores
2020-09-02 17:58:40 +02:00
Florine W. Dekker
ddb27c8061
Remove duplication by separating types in Storage
2020-09-02 17:27:37 +02:00
Florine W. Dekker
11bc3f9be7
Add silly statistic
2020-09-01 17:47:45 +02:00
Florine W. Dekker
07f028d369
Do not count statistics during solver
...
Also fixes #72 .
2020-09-01 17:36:45 +02:00
Florine W. Dekker
6d93d3394f
Add option to disable flag hints
2020-08-25 16:36:06 +02:00
Florine W. Dekker
7af33026a4
Display win percentage
2020-08-25 14:44:52 +02:00
Florine W. Dekker
ae49acda9e
Defocus buttons after pressing
...
Fixes #89 .
2020-08-17 13:10:49 +02:00
Florine W. Dekker
71d61a8916
Avoid using undefined where possible
...
Fixes #86 .
2020-08-13 11:13:00 +02:00
Florine W. Dekker
f94ee57811
Refine win/loss statistic measurements
...
Losses are no longer counted since they can be inferred from the existing statistics. Instead, there is now a `minesUncovered` statistics, and redoing an uncovering of a mine will also increase this statistic. Finally, made sure that `wasAutoSolved` cannot be set to `false` again.
2020-08-13 10:55:53 +02:00
Florine W. Dekker
7f491b0ef2
Fix cancel button border colours
...
Fixes #85 .
2020-08-13 10:43:58 +02:00
Florine W. Dekker
329a030f28
Cache local storage to improve performance
2020-08-12 22:01:57 +02:00
Florine W. Dekker
9fb009c8f7
Implement preferences overlay
2020-08-12 19:06:16 +02:00
Florine W. Dekker
1e840ae7c2
Implement question marks
...
Fixes #75 .
2020-08-12 18:52:02 +02:00
Florine W. Dekker
bd5f9acb68
Rename some statistics for clarity
2020-08-12 16:32:50 +02:00
Florine W. Dekker
303508a1f7
Adjust some button colours
2020-08-10 21:18:32 +02:00
Florine W. Dekker
0901ce20c0
Change some button icons
2020-08-10 21:08:29 +02:00
Florine W. Dekker
0ba2f34146
Give preciser hints
...
Fixes #84 .
2020-08-10 20:59:18 +02:00
Florine W. Dekker
6adc3de1c4
Add fallback font
...
Fixes #83 .
2020-08-10 19:56:28 +02:00
Florine W. Dekker
0e9c1816c7
Implement hint button
...
Fixes #12 .
2020-08-09 17:38:39 +02:00
Florine W. Dekker
5b62f2c427
Adjust some statistics
2020-08-09 14:28:25 +02:00
Florine W. Dekker
f2a0fd69c6
Prevent overflow of overlays
...
Fixes #82 .
2020-08-09 02:21:38 +02:00
Florine W. Dekker
0078e94c3b
Fix undefineds in statistics overview
2020-08-09 02:01:37 +02:00
Florine W. Dekker
aa2923a245
Add statistics tracking
...
Fixes #76 .
2020-08-08 02:41:21 +02:00
Florine W. Dekker
d74cb79957
Uncover to-be-clicked square
...
Fixes #63 . Also, preset fields are now guaranteed solvable by default.
2020-08-07 13:44:45 +02:00
Florine W. Dekker
336337eedb
Speed up solver, find edge cases
...
For real this time!
2020-08-07 13:13:14 +02:00
Florine W. Dekker
fb1825b262
Make Field fields mostly private
...
Fixes #66 .
2020-08-07 12:35:39 +02:00
Florine W. Dekker
b6b817e10c
Add timer for finding solvable field
2020-08-07 12:24:56 +02:00
Florine W. Dekker
3ec38607ca
Fix mine count after win
...
Fixes #81 .
2020-08-07 11:38:09 +02:00
Florine W. Dekker
77758e8277
Implement redo button
...
Fixes #78 .
2020-08-07 00:19:17 +02:00
Florine W. Dekker
36851cae42
Rename fields to be betterer
...
Fixes #67 .
2020-08-06 21:03:25 +02:00
Florine W. Dekker
03cc2509ad
Add button icons
...
Fixes #77 .
2020-08-06 20:56:45 +02:00
Florine W. Dekker
5ce0fc7cd8
Prevent incorrect solver moves
...
Fixes #74 .
2020-08-06 14:48:36 +02:00
Florine W. Dekker
d63096687d
Ensure solvability by default
2020-08-06 13:26:25 +02:00
Florine W. Dekker
388ab829c2
Stop uncovering after uncovering mine
...
Fixes #73 .
2020-08-06 11:44:11 +02:00
Florine W. Dekker
ee9eba0284
Make solver discover more edge cases
2020-08-06 11:28:15 +02:00
Florine W. Dekker
adc9037372
Inline undoable actions
2020-08-05 22:37:32 +02:00
Florine W. Dekker
49d27986b2
Add colours to status bar icons
...
Fixes #70 .
2020-08-05 19:51:07 +02:00
Florine W. Dekker
1acdc3a84e
Rename game to Minesweeper
...
Fixes #71 .
2020-08-05 19:32:01 +02:00
Florine W. Dekker
6d11be2886
Add confetti and redness
...
Fixes #46 .
2020-08-05 19:28:35 +02:00
Florine W. Dekker
efecb14cec
Slightly optimise drawing or something
2020-08-05 17:27:00 +02:00
Florine W. Dekker
6008a166b0
Fix canvas top border flickering
...
Fixes #59 .
2020-08-05 17:25:16 +02:00
Florine W. Dekker
fde0b1d31b
Update flag count on adding/removing flag
...
Fixes #69 .
2020-08-05 13:15:18 +02:00
Florine W. Dekker
7e86994ecf
Give coords to solver when solving
...
Fixes #68 .
2020-08-04 21:43:45 +02:00
Florine W. Dekker
6fbdc17bce
Add overlay for seed input
...
Fixes #62 .
2020-08-04 21:41:10 +02:00
Florine W. Dekker
c2544c520c
Fix incorrect overlay closing in Chrome
...
Fixes #61 .
2020-08-04 21:04:22 +02:00
Florine W. Dekker
86352768de
Clean up a bit of code
...
Fixes #58 .
2020-08-04 21:00:12 +02:00
Florine W. Dekker
1fdf55734b
Move first click logic into `uncover`
...
Also fixes #65 .
2020-08-04 20:48:57 +02:00
Florine W. Dekker
b7361256a2
Move change detection control to Field
2020-08-04 20:26:05 +02:00
Florine W. Dekker
551d36ca56
Implement `runUndoably` to hide `history` field
...
Fixes #64 .
2020-08-04 20:02:10 +02:00
Florine W. Dekker
de87838da6
Fix typos
...
Also change the versioning scheme.
2020-08-04 00:00:18 +02:00