39 Commits

Author SHA1 Message Date
32147aaa4a Building layouts complete 2025-06-16 22:41:30 -07:00
379ff877f9 WIP: Buildings 2025-06-16 22:41:30 -07:00
873a5939ef Apply styles and map script to manually loaded files 2025-06-16 22:41:30 -07:00
9769b26ddb Add ability to load a map file manually 2025-06-16 22:41:30 -07:00
fd99c0d839 Rename variables for clarity 2025-06-16 22:41:30 -07:00
73cbf3e6dd WIP: add fullscreen and download save abilities 2025-06-16 22:41:30 -07:00
19b1a0aadd Fix bad path set for object data prop 2025-06-16 22:41:30 -07:00
13c0a98f1b Change double quotes to single 2025-06-16 22:41:30 -07:00
17e28ba214 Organize public directory contents into assets folders 2025-06-16 22:41:29 -07:00
49d77d249d Organize index.js a bit better 2025-06-16 22:41:29 -07:00
e3d642c994 Use an observer to create new object element when data attribute is changed 2025-06-16 22:41:29 -07:00
0cf32e65f7 WIP: recreate object element when loading maps to avoid node warnings about dangling file handles 2025-06-16 22:41:29 -07:00
8970c1f59e Refactor index.js 2025-06-16 22:41:29 -07:00
17fd1c813b Create record sheet dynamically when map is loaded 2025-06-16 22:41:29 -07:00
c0556d2bd4 Remove a console.log 2025-06-16 22:41:29 -07:00
bb92a6b4ba Restore content visibility on page reload 2025-06-16 22:41:29 -07:00
b980544203 Add ability to change maps 2025-06-16 22:41:29 -07:00
3e513c5684 Rename some files 2025-06-16 22:41:29 -07:00
58c5d8dd63 Some cleanup 2025-06-16 22:41:29 -07:00
3749477ec1 Remove 'reveal pattern' from game, as it's not necessary 2025-06-16 22:41:29 -07:00
2e1a160568 Remove calling record sheet object with 'new' 2025-06-16 22:41:29 -07:00
48f239470f Remove calling the gme module with 'new' 2025-06-16 22:41:29 -07:00
51afec5648 WIP: firing arcs algo 2025-06-16 22:41:29 -07:00
485aaffeae More functional refactor 2025-06-16 22:41:29 -07:00
5eadfa0c87 Change troop-number and troop-allegiance references to just number and allegiance 2025-06-16 22:41:29 -07:00
e2b88df5c0 Remove references to 'container' in counter.js; fix dblclick not working right 2025-06-16 22:41:29 -07:00
5e3fac3d67 Extract panzoom logic into separate module 2025-06-16 22:41:29 -07:00
deacb601ba Add grenade counter 2025-06-16 22:41:29 -07:00
329689138c Fade the map in after it is done loading 2025-06-16 22:41:29 -07:00
d36236d0fe Update storing pan & zoom changes to localStorage 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
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