Every chat turn, hint, and live message serialises all sessions and rewrites progress.json. Fine for one player, but the scoreboard is shared, so a classroom or workshop hitting one instance will feel it. Investigate batching writes or only persisting on state-changing events.
File: app.py
Every chat turn, hint, and live message serialises all sessions and rewrites progress.json. Fine for one player, but the scoreboard is shared, so a classroom or workshop hitting one instance will feel it. Investigate batching writes or only persisting on state-changing events.
File: app.py