This site is currently under major renovation

Storm Night - Rising Waters (SG FloodGate)

A browser-based virtual laboratory in which a junior engineer controls a flood gate through a storm night

Prototype deployed

Title screen

Overview

Storm Night is a browser-based interactive story game and virtual laboratory in which a junior engineer controls a flood gate through a storm night in a Singapore-style drainage setting. Learners first apply civil and mechanical knowledge by hand, then automate the same control task through programming.

Problem

Open-channel hydraulics, gate mechanisms and control programming are usually taught in separate courses, each through static equations and worked examples. The design question is how to place all three in one situation where a learner must predict, act under time pressure and live with the consequence.

My role

Principal Investigator. The prototype grew out of CSC1109 and CSC2101 software engineering work completed with faculty research teams. Co-authors on the accompanying paper: Christian Della and Samiran Das.

Design approach

  • Act structure. Every act runs four phases, Predict, Operate, Result and Reflect, so each decision is preceded by a stated expectation and followed by an explanation.
  • Three disciplines in one scenario. Computing covers automating the control loop. Mechanical covers gate mechanisms, including a four-bar linkage. Civil covers open-channel hydraulics: Manning's equation, Froude number, hydraulic jump, sluice gate flow and pump curves.
  • Manual first, then automated. The learner operates the gate by hand, then writes the program that does the same job.

Interaction and media

  • Story layer: a night-shift narrative with mood scenes illustrated by AI-generated images, disclosed as such.
  • Physics layer: hydraulic and mechanical visuals drawn in code from the model, so what the learner sees follows the numbers.
  • Sound: procedural audio built with the Web Audio API sonifies the state of the system, so a change of condition can be heard.
  • Demo mode for presentations. A display board using NFC is a planned extension and is not built.

Media plan Hero: title screen of the live prototype. Gallery: one screenshot per phase of an act. capture screenshots; the live site returned HTTP 503 when this draft was built.

Learning and assessment design

Prediction-error scoring compares what the learner predicted in the Predict phase with what the simulation produced in the Result phase, and the Reflect phase asks the learner to explain the gap. The score is meant to reward calibrated understanding rather than lucky operation. describe the scoring formula once it is final.

Technology

  • Runs in the browser, nothing to install
  • Web Audio API for procedural sound
  • Physics visuals drawn in code
  • AI-generated illustrations, used for mood scenes only
  • Planned: NFC display board extension

Status, evidence and limits

Prototype deployed

Prototype deployed.

A prototype is deployed. There is no learner-outcome data yet. Expert sign-off by mechanical and civil engineering colleagues, and any student pilot, are pending ethics approval. Read this as a design and engineering contribution, not as evidence of learning gain.