1
0
Fork 0

feat(radio): expose mode-specific stats

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Jason Fraley 2026-09-03 16:03:28 -04:00
parent d0ab6d4d8b
commit 72ef20a044

View file

@ -38,9 +38,20 @@ export default async function RadioPage() {
const stats = {
gamesPlayed: radioTraffic.gamesPlayed ?? 0,
totalMessages: radioTraffic.totalMessages ?? 0,
incorrectMessages: radioTraffic.incorrectMessages ?? 0,
bestScore: radioTraffic.bestScore ?? 0,
bestAccuracy: radioTraffic.bestAccuracy ?? 0,
bestSprintTimeMs: radioTraffic.bestSprintTimeMs ?? 0,
sprintGamesPlayed: radioTraffic.sprintGamesPlayed ?? 0,
sprintTotalMessages: radioTraffic.sprintTotalMessages ?? 0,
sprintIncorrectMessages: radioTraffic.sprintIncorrectMessages ?? 0,
sprintBestScore: radioTraffic.sprintBestScore ?? 0,
sprintBestAccuracy: radioTraffic.sprintBestAccuracy ?? 0,
watchGamesPlayed: radioTraffic.watchGamesPlayed ?? 0,
watchTotalMessages: radioTraffic.watchTotalMessages ?? 0,
watchIncorrectMessages: radioTraffic.watchIncorrectMessages ?? 0,
watchBestScore: radioTraffic.watchBestScore ?? 0,
watchBestAccuracy: radioTraffic.watchBestAccuracy ?? 0,
radioTrafficXp: radioTraffic.xpEarned ?? 0,
xpEarned: 0,
};