121 Commits

Author SHA1 Message Date
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
921857f29b Update pan-zoom lib 2024-04-22 10:02:43 -07:00
ea2ff860fa Use checkboxes for grenades 2024-04-18 19:13:37 -07:00
ac71447aee Add another integration test; document debugging integration tests 2024-04-18 17:39:18 -07:00
25172dafed Add Docker command scripts 2024-04-18 12:02:08 -07:00
c1f575a9c6 Don't watch or inject live reload when running test server 2024-04-18 11:42:00 -07:00
8e74cef4a5 Run server on different port when running tests 2024-04-18 10:05:21 -07:00
23967fe2f5 Integration test running with test server 2024-04-17 22:26:53 -07:00
24e2bd5821 Add beginning setup for tests 2024-04-17 15:56:41 -07:00
143e3cdb45 Add callbacks for updating the UI 2024-04-17 13:05:47 -07:00
4229c732bc Use JS for damage indicator changes instead of CSS 2024-04-17 10:20:15 -07:00
460027e965 Move most game logic into its own file 2024-04-16 19:41:27 -07:00
4ffd8eb5c4 WIP 2024-04-16 15:47:47 -07:00
811cf8999f WIP 2024-04-16 13:29:16 -07:00
44feb23b19 Turn off the image maps 2024-04-14 13:27:38 -07:00
0aef8a6401 WIP 2024-04-14 13:12:21 -07:00
Catalin Mititiuc
97cc1f012a Import pan/zoom functions from external module 2024-04-14 10:14:25 -07:00
Catalin Mititiuc
143d61e49b Position hexes with CSS; move map styles into separate file 2024-04-11 17:17:03 -07:00
Catalin Mititiuc
b192fc0790 Import map svg in an object; add a dev server 2024-04-11 13:15:41 -07:00
Catalin Mititiuc
35a82e94e8 Change record sheet visibility with JavaScript instead of CSS
since the CSS way doesn't work on my version of Firefox
2024-04-11 10:04:56 -07:00
Catalin Mititiuc
dacecbb4f5 Remove stroke around selected counters 2024-04-07 11:08:06 -07:00
Catalin Mititiuc
5afa53ef7a Add turn counter and inning indicator 2024-04-06 15:09:09 -07:00
Catalin Mititiuc
5e2a62bb7a Make counter's firing arc visible on mouseover 2024-04-06 12:09:08 -07:00
Catalin Mititiuc
ac9b456314 Add styling to sight line target hex 2024-04-06 11:45:21 -07:00
Catalin Mititiuc
ba1e9009a3 Avoid hiding firing arc if visibility is toggled when changing unit selection 2024-04-06 11:21:22 -07:00
Catalin Mititiuc
f73241afb8 Sight line logic; I think it works but this conditional is gnarly 2024-04-06 10:46:56 -07:00
Catalin Mititiuc
16672db15a WIP: sight line 2024-04-05 21:39:52 -07:00
Catalin Mititiuc
ea400e2de3 Fix firing arc position 2024-04-05 16:42:26 -07:00