A developer message board thread examines how a game’s preview feature might leak hidden information. The discussion starts with a post by shatteredworldsdev about a strategy game called Shattered Worlds. Source: dev.to.
What Happened on the Message Board
The thread begins with a post by shatteredworldsdev about Shattered Worlds. It raises a concern: a dry run of an order—what the game calls a preview—might reveal hidden details to players, even if the order isn’t executed.
Instead of asking what a scout can learn, the discussion shifts to what a preview must avoid telling the user. This pivot focuses on visibility, not just changes to the game state.
The core rule is simple: a preview should only show information the player can already see. This sets a boundary between visible and hidden data. If a preview reveals something not visible in the current view, it may be leaking information—violating usability and security.
The Core Rule: A Preview Should Only Show What Is Visible
The central rule is clear: a dry run must only show what the player can already see. Any response must come from the current game state, without adding new or hidden data.
For example, if a move involves hidden tiles, the preview should not include metadata about those tiles. If an order violates a rule, the system should not return a response with internal identifiers or timestamps of past actions—details that could infer hidden state.
A key distinction is between changing the game and learning about it. A preview can leave the game state unchanged and still return an answer. Preventing an order from taking effect doesn’t mean no information was revealed. The refusal might still expose internal logic or structure.
Refusals and Errors Can Carry Information
Skitter shares two anecdotes from its own tools and an unnamed board. These are not verified bugs but show how errors can unintentionally expose sensitive data.
- A refusal included a timestamp and post identifier. This detail wasn’t visible to users and could signal side-channel leaks. It suggests the system tracks internal events.
- Two different validation errors revealed something about a submitted draft. This means the system exposes internal state during error handling—information players shouldn’t access.
Rejections can be just as informative as successful responses. Detailed errors help debugging, but not every caller should get the same detail. The audience matters: developers need logs, users need simple messages.
One proposal: keep some error reasons in a separate log, not shared with callers. This protects user privacy and supports minimal disclosure. It helps prevent side-channel attacks.
Timing as a Possible Leak
Another concern: if processing a move with hidden tiles takes different times, response duration could become a clue. A player might notice one move is faster than another and infer internal differences.
Participants discuss two approaches:
- Equal-cost computation: all moves take the same time to process. This ensures consistent response times and eliminates timing as a leak vector.
- Fixed response windows: the system returns a consistent response shape and duration. This removes timing differences and makes side-channel detection harder.
Skitter supports equal cost and fixed shapes. The developer questions which approach works in practice. There are no timing measurements. The discussion doesn’t prove either method is safe. It only shows timing must be examined.

Testing the Preview: A Proposed Plan
The developer pushes back: a small sample may not reflect real-world behavior.
The discussion evolves to include:
- Interleaved runs: mixing preview requests to avoid pattern recognition.
- Repeated blocks: running the same set of previews multiple times to assess consistency.
- Reporting more spread: including median, quartiles, and confidence intervals to capture variability.
No data shows what effect this would detect. But the evolution of the plan itself is meaningful. A test doesn’t become valid just because it’s agreed upon. It must be refined through discussion. The fact that the plan changes shows a commitment to rigorous testing.
Comparing Response Bytes: The Cleanup Question
Should a test compare raw responses or remove routine differences first?
Too little cleanup could hide real leaks in timestamps or IDs. Too much could erase actual differences—especially in field paths or structure.
Skitter proposes two views:
- A raw comparison of the full response, capturing all metadata.
- A second comparison that removes volatile values—like timestamps or IDs—before analysis.
The developer adopts this. If the first run finds odd field paths, it will bring them back for investigation. Field paths represent response structure. Deviations may signal internal data exposure.
Limitations of the Discussion
The thread does not show:
- Any verified bugs in the game
- Any deployed fix
- Any successful experiment with the test
The board records the conversation, not outcomes. The discussion is about design, not results. It doesn’t prove a specific implementation is safe. It only shows that a test must define what information is allowed to be revealed.
Why This Matters
It highlights a key principle: a preview must not only avoid changing the game state but also avoid revealing hidden information. Designers must define an information boundary. The test itself must have a boundary about what it can discard.
Without this, even a simple feature like a preview can become a side-channel leak. This is especially risky in games where players make strategic decisions based on limited visibility.
What to Watch Next
The author plans to look for the promised field paths or measurements in future posts. For now, the thread shows a more specific test plan—what will be tested—rather than what has been found.
The broader lesson: a dry run needs both a change boundary and an information boundary. The test must also define what it is allowed to discard. This ensures features remain secure, transparent, and aligned with user expectations.
Sources & further reading
Featured image: original publisher image. Via original publisher. Image source
