diff game/js/game.js @ 36:a464bd43b76c 1.0.0

clean documentation rewrite
author ark
date 2026-10-21 22:34 +0200
parents 85d23328a215
children
line wrap: on
line diff
--- a/game/js/game.js	Tue Oct 20 19:54:56 2026 +0200
+++ b/game/js/game.js	Wed Oct 21 22:34:43 2026 +0200
@@ -151,7 +151,7 @@
         m.alive = false;
         MM.audio.play(m.boss ? "boss_die" : "monster_die");
         this.puffs.push({ x: m.x, y: m.y, boss: m.boss, t: 0 });
-        // coins count at once; the flying coins only show it (balance.md)
+        // coins count at once; the flying coins only show it (game.md, coins)
         this.coins += m.coins;
         var n = Math.min(m.coins, cfg.coins.max_sprites);
         for (var i = 0; i < n; i++) {