comparison doc/architecture.md @ 21:fa04481563b7

doc update
author ark
date 2026-10-20 00:44 +0200
parents fe680946164b
children ad1b478fc4dc
comparison
equal deleted inserted replaced
20:4348b83d3e6b 21:fa04481563b7
123 grouped by event 123 grouped by event
124 6. config: read config/game.toml, check it, write www/data/config.js 124 6. config: read config/game.toml, check it, write www/data/config.js
125 7. checks: print a summary per map (routes with length and turning, monster 125 7. checks: print a summary per map (routes with length and turning, monster
126 counts, coins and hp per map against the target) and warn on problems 126 counts, coins and hp per map against the target) and warn on problems
127 8. previews: draw each map with its routes, entrances, exits and placement 127 8. previews: draw each map with its routes, entrances, exits and placement
128 grid into temp/preview/, for checking without starting the game 128 grid into temp/preview/, for checking without starting the game. towers.png
129 shows the tower levels, each turned by its drawing direction to face up,
130 with its pivot and footprint
129 9. game files: copy the files in game/ to www/. a file is copied when its 131 9. game files: copy the files in game/ to www/. a file is copied when its
130 time or size differs from the copy. files no longer in game/ are removed 132 time or size differs from the copy. files no longer in game/ are removed
131 from www/, apart from www/assets/ and www/data/ 133 from www/, apart from www/assets/ and www/data/
132 134
133 a watch mode (`tools/build.py --watch`) reruns the build when a file in 135 a watch mode (`tools/build.py --watch`) reruns the build when a file in