294 Commits

Author SHA1 Message Date
b0eebf13f2 Don't watch or inject live reload when running test server 2025-06-16 22:41:29 -07:00
e9bfecace9 Run server on different port when running tests 2025-06-16 22:41:29 -07:00
6084c54e2e Integration test running with test server 2025-06-16 22:41:29 -07:00
927d8a7f0c Add beginning setup for tests 2025-06-16 22:41:29 -07:00
695ab184b2 Add callbacks for updating the UI 2025-06-16 22:41:29 -07:00
80cb8c5e9c Use JS for damage indicator changes instead of CSS 2025-06-16 22:41:29 -07:00
a9a8478c6e Move most game logic into its own file 2025-06-16 22:41:28 -07:00
2a5c283b02 WIP 2025-06-16 22:41:28 -07:00
9ea9047334 WIP 2025-06-16 22:41:28 -07:00
ac26c68e1a Turn off the image maps 2025-06-16 22:41:28 -07:00
268486447e WIP 2025-06-16 22:41:28 -07:00
fdf4b93856 Import pan/zoom functions from external module 2025-06-16 22:41:28 -07:00
a0c2640bb7 Position hexes with CSS; move map styles into separate file 2025-06-16 22:41:28 -07:00
f42ad7c7be Import map svg in an object; add a dev server 2025-06-16 22:41:28 -07:00
6aed9539fc Change record sheet visibility with JavaScript instead of CSS
since the CSS way doesn't work on my version of Firefox
2025-06-16 22:41:28 -07:00
326c9f914e Remove stroke around selected counters 2025-06-16 22:41:28 -07:00
8d22cac6dc Add turn counter and inning indicator 2025-06-16 22:41:28 -07:00
bf3b4be441 Make counter's firing arc visible on mouseover 2025-06-16 22:41:28 -07:00
bebdf3c7d6 Add styling to sight line target hex 2025-06-16 22:41:28 -07:00
9f34506a34 Avoid hiding firing arc if visibility is toggled when changing unit selection 2025-06-16 22:41:28 -07:00
126b9748b9 Sight line logic; I think it works but this conditional is gnarly 2025-06-16 22:41:28 -07:00
36bbe584be WIP: sight line 2025-06-16 22:41:28 -07:00
9e7069ef13 Fix firing arc position 2025-06-16 22:41:28 -07:00
8b66c4c304 Select soldier by clicking on their counter; allow locking on another counter vs the hex 2025-06-16 22:41:28 -07:00
a67bff184b WIP: fix sight line 2025-06-16 22:41:28 -07:00
da6916c0e6 WIP: put everything on the same hex in a group together; get rid of x and y coordinates on counters completely 2025-06-16 22:41:28 -07:00
82e55333bb Fix ending turn not selecting active counter 2025-06-16 22:41:28 -07:00
c9026bb05d Enlarge counter radius on pointer hover 2025-06-16 22:41:28 -07:00
6a0ab60dc2 Fix using duplicate ids for counters and clip paths 2025-06-16 22:41:28 -07:00
18bb0b885a Fix 'pan event being cancelled by the browser' bug 2025-06-16 22:41:28 -07:00
363b551068 Add prone counters 2025-06-16 22:41:28 -07:00
2da40de2fc Toggle allegiance firing arc visibility 2025-06-16 22:41:28 -07:00
17e6a7812f Fix unselecting selected record 2025-06-16 22:41:28 -07:00
5fa5320713 Clear sightline when counter moves back along move trace 2025-06-16 22:41:28 -07:00
d34072b03a Use right mouse button for setting sight line 2025-06-16 22:41:28 -07:00
91b5e53e9d WIP: more refactor 2025-06-16 22:41:28 -07:00
242445c907 WIP: refactor 2025-06-16 22:41:28 -07:00
c7abbe9ded Movement history 2025-06-16 22:41:28 -07:00
925b5f08ca Overlaying firing arcs don't just keep getting darker and darker 2025-06-16 22:41:28 -07:00
178be98ed7 End turn 2025-06-16 22:41:28 -07:00
5276532e70 WIP: end movement, turn buttons 2025-06-16 22:41:28 -07:00
b095228f37 Fix after moving svg into container div 2025-06-16 22:41:28 -07:00
89251d0235 Make sight-line stationary on click 2025-06-16 22:41:28 -07:00
a15e327229 WIP: sight line, distance 2025-06-16 22:41:28 -07:00
d438469e33 WIP: sight line and hex count 2025-06-16 22:41:28 -07:00
819fef2e67 WIP: line draw, localstorage settings 2025-06-16 22:41:28 -07:00
4bcfa0a897 Use matrix transform to calculate counter coordinates 2025-06-16 22:41:28 -07:00
5704b2a5b8 Add adjustment debug panel 2025-06-16 22:41:28 -07:00
30e9f18aa6 Disallow selecting text in SVG text elements 2025-06-16 22:41:28 -07:00
a23f942f8d Capture pointer when panning svg 2025-06-16 22:41:28 -07:00