398 Commits

Author SHA1 Message Date
2772333072 Add all scenario maps 2024-04-28 16:19:59 -07:00
cf190d8e7a Restore content visibility on page reload 2024-04-28 16:19:32 -07:00
1d5d5a2cda Add a map.js 2024-04-28 16:18:34 -07:00
0c1f7e2fde Add ability to change maps 2024-04-27 18:30:03 -07:00
ce98e32565 Rename some files 2024-04-27 15:58:11 -07:00
75a0c37ea5 Some cleanup 2024-04-27 13:10:43 -07:00
b88945ced6 Remove 'reveal pattern' from counter module 2024-04-27 12:34:07 -07:00
25c74d9a8e Remove 'reveal pattern' from sight line module 2024-04-27 12:24:51 -07:00
77f9f8afa4 Remove 'reveal pattern' from firing arc module 2024-04-27 12:03:48 -07:00
25a79c4be5 Remove 'reveal pattern' from game, as it's not necessary 2024-04-27 11:55:25 -07:00
bbd58ed2a0 Remove calling record sheet object with 'new' 2024-04-27 10:28:16 -07:00
0c693a0383 Move function into closure 2024-04-27 10:27:54 -07:00
9aada19dbd Remove calling the gme module with 'new' 2024-04-27 10:24:11 -07:00
ef885b91c2 Remove calling the counter module with 'new' 2024-04-27 09:06:57 -07:00
d73b534f68 Minor refactor 2024-04-27 08:18:47 -07:00
d911ba9bca Refactor sight line module to extract svg queries into game module 2024-04-26 23:55:01 -07:00
bcd34e76db Remove calling firing arc module with 'new' 2024-04-26 21:50:22 -07:00
ea3341323a Remove calling sight line module with 'new' 2024-04-26 21:04:08 -07:00
00323b63eb Make sight line module a function instead of a class 2024-04-26 18:19:35 -07:00
f07d120b4b Refactor sight line module to remove almost all querying for elements 2024-04-26 16:08:40 -07:00
a5e1ebcd47 Refactor firing arc module, 'set' function 2024-04-26 14:08:05 -07:00
9d02591fac More refactor of firing arc module 2024-04-26 12:14:24 -07:00
93ef00d180 More refactor of firing arcs module 2024-04-26 10:37:36 -07:00
b4898daa2f Remove svg queries from firing arc position function 2024-04-25 22:02:10 -07:00
917058f024 WIP: simplify/clarify firing arc algo 2024-04-25 20:06:51 -07:00
1833dfebf1 WIP: firing arcs algo 2024-04-25 17:21:46 -07:00
7f0c19becd More functional refactor 2024-04-24 19:35:42 -07:00
e7f7bf1f31 Add two more sight line query functions 2024-04-24 16:43:14 -07:00
accff86ae1 Move more firing arc logic to its module 2024-04-24 16:18:49 -07:00
62a745d59f Change troop-number and troop-allegiance references to just number and allegiance 2024-04-24 15:50:59 -07:00
f215ef7920 Remove unused files 2024-04-24 15:08:30 -07:00
bdeddc71eb Remove references to 'container' in counter.js; fix dblclick not working right 2024-04-24 15:08:07 -07:00
525ab34237 Remove selected counter when double-clicked 2024-04-24 13:58:45 -07:00
3f3af09f2b Remove 'previous' from counter's dataset when move has ended 2024-04-24 13:41:09 -07:00
f3a5999142 Retain preexisting counters in move history 2024-04-24 13:14:32 -07:00
b73217c5c4 Make trooper counters groups 2024-04-24 12:21:35 -07:00
3d2d5cad85 WIP: hover over counter reveals firing arc working again 2024-04-24 10:11:18 -07:00
96e6f8a09a WIP: sight line and trace working again 2024-04-23 21:14:30 -07:00
f60969ef8d WIP: handle clicking on counters at the cell level 2024-04-23 19:01:29 -07:00
1a75bf469a Add a counter module 2024-04-23 13:33:15 -07:00
ec023057b9 Add a sight line module 2024-04-23 12:43:11 -07:00
536a0c4efa Make a firing arc module 2024-04-23 12:05:47 -07:00
8690459093 Update pan-zoom lib 2024-04-23 10:22:12 -07:00
bbf65197db Extract panzoom logic into separate module 2024-04-22 20:58:17 -07:00
9e375ef373 Remove scrollbars from svg 2024-04-22 20:44:07 -07:00
2cf47e56fe Add missing row 2024-04-22 14:41:39 -07:00
4dc47d6f04 Add grenade counter 2024-04-22 14:28:29 -07:00
c23d9be954 Fade the map in after it is done loading 2024-04-22 12:09:50 -07:00
b443b37a11 Update storing pan & zoom changes to localStorage 2024-04-22 11:43:31 -07:00
232d1b1d6a Update viewBox to make off-board starting positions visible 2024-04-22 11:14:07 -07:00