36 Commits

Author SHA1 Message Date
bd31e3e4a6 Add ability to load a map file manually 2024-05-15 12:55:40 -07:00
26285e4be7 Rename variables for clarity 2024-05-15 11:22:47 -07:00
f021368a66 WIP: add fullscreen and download save abilities 2024-05-04 10:25:22 -07:00
e0019128a0 Fix bad path set for object data prop 2024-05-02 12:12:44 -07:00
0e2ddffc82 Change double quotes to single 2024-05-02 11:53:08 -07:00
a69623b0ab Organize public directory contents into assets folders 2024-05-02 11:04:09 -07:00
9ac571cc24 Organize index.js a bit better 2024-05-02 10:14:35 -07:00
6b32bde0bc Use an observer to create new object element when data attribute is changed 2024-05-01 23:37:44 -07:00
cb76c9c68a WIP: recreate object element when loading maps to avoid node warnings about dangling file handles 2024-05-01 22:53:18 -07:00
d393934679 Refactor index.js 2024-04-30 16:58:12 -07:00
82d3a4b415 Create record sheet dynamically when map is loaded 2024-04-30 10:17:45 -07:00
4ce55ea0cd Remove a console.log 2024-04-28 16:40:44 -07:00
cf190d8e7a Restore content visibility on page reload 2024-04-28 16:19:32 -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
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
9aada19dbd Remove calling the gme module with 'new' 2024-04-27 10:24:11 -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
62a745d59f Change troop-number and troop-allegiance references to just number and allegiance 2024-04-24 15:50:59 -07:00
bdeddc71eb Remove references to 'container' in counter.js; fix dblclick not working right 2024-04-24 15:08:07 -07:00
bbf65197db Extract panzoom logic into separate module 2024-04-22 20:58:17 -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
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
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