Statistics with a chart at the end of a game, 64 achievements kept locally and on the server

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-05 23:36:19 +01:00
1 parent 193b199875
commit 9931ca9b54
37 files changed
+1833 -4

No files matched your search

+2
View File
@@ -128,6 +128,7 @@ impl Game {
}
if t >= BURN_TIME {
self.bridgework.burning.swap_remove(k);
self.count_local(crate::stats::BURNT);
self.bridge_falls(i);
continue;
}
@@ -262,6 +263,7 @@ impl Game {
t.res = (t.res & DB_LAVA) | state;
}
if raise {
self.count(crate::stats::DRAWBRIDGE, 1.0);
// whoever stands on it jumps to the bank (or falls)
for &g in &group {
self.ground_lost(g);