Commit graph

38 commits

Author SHA1 Message Date
42dc3e394c Implement hypothesis solver (no recursivity yet); solves all known grids 2022-10-23 23:13:49 +02:00
e8d0db8b1d [WIP, BROKEN] Plug the stub for the Hypothesis solver to show how it'll be used 2022-10-02 22:22:23 +02:00
fb0c655089 [WIP, BROKEN] attempt to factorize zone handling to provide tooling to detect contradictions in hypothesis solver (zones becoming empty which shouldn't) 2022-10-02 22:20:45 +02:00
c411ffbcac Finally import id from UnitJS.Fun 2022-10-02 22:20:16 +02:00
213eec19fe Sort of reached an acceptable state where two first solver rules work 2022-09-01 22:27:21 +02:00
0a61d9a389 Still hacking away 2022-08-30 22:39:09 +02:00
71c405e5cd Generalize the CellSet type into a general-purpose Set 2022-08-20 16:23:50 +02:00
ac7cd6333b Expand solver and structure its design 2022-08-19 08:19:50 +02:00
671bfdcb5f Add geometry tooling 2022-08-11 09:58:57 +02:00
11f3902ca2 Merge branch 'main' into sharing 2022-08-10 21:11:18 +02:00
b503a9e389 Follow file renaming in SJW's guix release 2022-08-10 21:10:48 +02:00
d2e683dfb9 Follow file renaming in SJW's guix release 2022-08-09 20:09:02 +02:00
17fd855ab2 Implement sharing and loading grids from URL with a very naive encoding 2022-08-08 08:34:30 +02:00
ffebb1efb8 Rename ubiquitous 'data' to something more meaningful according to the context 2022-08-06 20:15:53 +02:00
5c0ef70220 Implement naive en/decoder + add link to share game 2022-08-06 19:00:08 +02:00
259d1fc175 Merge branch 'main' into sharing 2022-08-05 20:14:05 +02:00
301a1cc895 Take pure 2D arrays primitives out in a separate module for reuse 2022-08-05 20:13:32 +02:00
e06b31087a Merge branch 'main' into sharing 2022-08-04 22:38:47 +02:00
3a635cb264 Stop storing the full class names in color grid 2022-08-04 22:32:43 +02:00
78ce48ca5c Drafting a module to share compress grids 2022-08-02 17:57:29 +02:00
43900cfb64 Start implementing the solver 2022-08-02 10:58:46 +02:00
6e8d07e973 Fix bug in grid loader 2022-07-31 16:35:26 +02:00
88483c72bf Generalize surface painting algorithm to get a zone detector 2022-07-31 16:11:22 +02:00
7a6e815b61 Use Arrays to represent Grid data instead of Objects 2022-07-31 16:09:59 +02:00
6e62789c89 Implement mode switching, rename project to 'Constellations' 2022-07-31 15:19:06 +02:00
ec5279127f Simplify colorize function to increase reuse 2022-07-26 21:53:27 +02:00
e86312b162 Enable mode switching 2022-07-26 20:00:42 +02:00
6071977123 Implement grid loading and saving 2022-07-26 19:25:56 +02:00
ccc48a3c8d Implement surface painting 2022-07-25 15:41:28 +02:00
b4ae259123 Add a nice border to colored cells 2022-07-25 15:41:28 +02:00
b630864844 Implement continuous draw + use select control for colors 2022-07-25 15:41:28 +02:00
c6c2bbbb84 Start designing a proper toolbox 2022-07-25 15:41:22 +02:00
f59c379599 Add more logic to draw the grid and colorize it 2022-07-23 22:39:59 +02:00
e64928a58c Add shortcut to refresh page directly in browser 2022-07-23 22:39:35 +02:00
c132b8da1a Starting to style grid 2022-07-23 18:39:27 +02:00
dda80df882 Populate the grid dynamically 2022-07-23 18:33:01 +02:00
c6a84321d4 Fix output dir for guix build 2022-07-23 18:32:27 +02:00
3d9bc23a91 First draft 2022-07-22 22:35:28 +02:00