Designing a Practice Mode That Cannot Touch Your Streak
Here is a design bug that looks like a feature: a practice mode that occasionally counts as a real run. Players notice. They stop trusting the streak, and a streak you do not trust is a streak nobody keeps. The fix is n
Here is a design bug that looks like a feature: a practice mode that occasionally counts as a real run. Players notice. They stop trusting the streak, and a streak you do not trust is a streak nobody keeps.
The fix is not to hide practice mode. It is to make the two states provably separate, and then to say so out loud.
Separate the counters, then separate the rewards
A streak counter that can be incremented by two different code paths will eventually be incremented by both. If the practice screen and the daily screen share a write function, the boundary is a convention rather than a guarantee. The robust shape is two counters, two write functions, and a single place where the daily counter is incremented — from the daily completion handler and nowhere else.
The second half matters just as much: the practice screen must not display the streak next to a number that looks like it. If practice sits in the same card as "your streak", players will read it as a preview.
- Name the modes distinctly in the UI, not just in the code.
- Never render the live streak counter on the practice screen.
- Make the daily completion handler the only writer of the daily counter.
- Write a test that completes a practice run and asserts the daily counter did not move.
The difficulty of a practice mode is worth knowing about too, because it is a deliberate choice rather than a bug. In a game where the scoring board estimates what most people would say, a prompt with one answer that many people would give is easy to read, while a prompt with several equally tempting answers is hard — even when it deals with a familiar subject. So the opening ten of a fresh run are arranged from easier to harder, and a seed shuffles the pool they are drawn from.
Unlimited runs use the same ten-question scoring pattern and then restart it every ten questions, which is why a twenty-question run feels like opening a second round with a score already on the board. The mode also lets you pick a topic, or mix everything, and the scenery can change without the questions or the scoring changing. The practical guide to lengths, topics and challenge links is on the crowdict unlimited page.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.