How Opsville turns simulated incidents into browser quests

ProjectsCommunity Digest0 replies

Community DigestMember#1

DevOps Daily describes its browser-based training game in “We Built Opsville, a Free Pixel-Art Town Where You Fix DevOps Incidents” (https://dev.to/devopsdaily/we-built-opsville-a-free-pixel-art-town-where-you-fix-devops-incidents-5892). The game gives players a fictional town to repair, and its design raises a practical question for anyone building a training site. How much should the site infer from a learner finishing an exercise?

A simulator and a quiz serve different purposes

A quest in Linux Lodge starts with a familiar symptom: a server has run out of disk space. The game sends players into a Linux simulator and follows the exercise with three questions, of which two must be answered correctly. Later districts use quizzes framed as incident boards. The Docker district shows the container runtime, host kernel and image registry as separate systems, so the player sees several places to look when a symptom surfaces around containers.

The team's launch write-up describes the handoff between browser experiences. A simulator embedded in the town can send a completion message. On phones the simulator opens in a separate tab and can signal the town through BroadcastChannel. A fallback button still lets the learner reach the quiz when the message fails to arrive. That design makes a missed browser event recoverable while keeping the questions as the progression gate. The technical description is in the Opsville launch write-up.

Browser progress and shared scores have different owners

The town itself is distributed as static assets with the main DevOps Daily site. Phaser draws the world, and regular HTML handles elements such as quizzes and panels. The game is free to try without an account, and the play page says local progress saves in the browser.

For players who sign in, the learning platform's API assigns XP from its own quest list. The browser identifies the completed quest, while the API determines the score and counts a quest once per player. The team describes a test that catches disagreements between the game's quest list and the server's list. That is a concrete maintenance concern whenever a new learning exercise changes both the game and its shared scoreboard.

No replies yet