206 Commits

Author SHA1 Message Date
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
Catalin Mititiuc
e8f0dde6da Select soldier by clicking on their counter; allow locking on another counter vs the hex 2024-04-05 16:19:30 -07:00
Catalin Mititiuc
83ba223e01 WIP: fix sight line 2024-04-05 13:55:46 -07:00
Catalin Mititiuc
9dff1c289d WIP: put everything on the same hex in a group together; get rid of x and y coordinates on counters completely 2024-04-05 13:21:26 -07:00
Catalin Mititiuc
a618b160d0 Fix ending turn not selecting active counter 2024-04-05 09:52:40 -07:00
Catalin Mititiuc
9dbb0a5369 Enlarge counter radius on pointer hover 2024-04-05 09:27:46 -07:00
Catalin Mititiuc
8bd67fbee2 Fix using duplicate ids for counters and clip paths 2024-04-04 15:52:56 -07:00
Catalin Mititiuc
b75a92bfe3 Fix 'pan event being cancelled by the browser' bug 2024-04-04 15:14:16 -07:00
Catalin Mititiuc
9e653d0681 Add prone counters 2024-04-04 09:04:05 -07:00
Catalin Mititiuc
adc67da606 Toggle allegiance firing arc visibility 2024-04-03 14:22:33 -07:00
Catalin Mititiuc
dc56db385c Fix unselecting selected record 2024-04-03 13:18:35 -07:00
Catalin Mititiuc
24aa825bc6 Clear sightline when counter moves back along move trace 2024-04-03 13:14:23 -07:00
Catalin Mititiuc
616bdf15d9 Use right mouse button for setting sight line 2024-04-03 09:40:20 -07:00
Catalin Mititiuc
202f3ffa6c WIP: more refactor 2024-04-02 21:58:29 -07:00
Catalin Mititiuc
7dfea639fb WIP: refactor 2024-04-02 19:26:41 -07:00
Catalin Mititiuc
fbb9663183 Movement history 2024-04-02 15:57:47 -07:00