Projects
P-01mobile

Runi – Live Ghost Racing Running App

 01 / 01

About

Runi is an Android running app where you race live "ghosts" on a real map, with the gap in metres and seconds shown as you run. Race up to three at once: your personal best and your previous run are picked for you, and you can add another runner's shared run. Only server-verified runs can be shared. Any run can also be turned into a course to race again. It was built by a team of 7 over one trimester (DigiPen, 2026) on a C++20 engine shared by Android (Kotlin, JNI, OpenGL ES) and desktop, with a Linux server that verifies uploaded runs. The app is still in development. I was the team's Test Lead and Build/Tool Engineer, and I owned two milestone goals: Debugging, Profiling, Tests & CI (Milestone 1), and Optimization & Platform Validation (Milestone 2). In Milestone 1 I built the systems the whole team relied on: a shared C++/Kotlin logger, scoped performance timers, 22 end-to-end tests built from real GPX routes, a leak check on every test program, and a one-command build and test script. All 9 acceptance criteria were met. In Milestone 2 I wrote scripted 60-minute profiling runs on the target device and used them to cut per-frame app allocations from 31.19 KB to 0.05 KB. I added battery-aware GPS and render cadence, which brought battery use to 2.5% per hour against a 10% target while keeping 60 FPS during races. I also set up the team's Linux server and ran sanitizers over the whole codebase, including a clean 60-minute HWASan run on the target device.

Key Features

01Live ghost racing on an OpenGL ES map, with the ahead/behind gap in metres and seconds
02Race your personal best, your previous run and a shared run at once
03Turn any saved run into a reusable course
04Shared C++/Kotlin logger and performance timers used across the whole app
0522 end-to-end tests through the real activity engine and ghost racing
06Leak check on every test program, plus AddressSanitizer/UBSan on Linux and HWASan on Android
07One-command build and test script (desktop, leak, Android, sanitize)
08Scripted 60-minute on-device profiling with trace analysis
09Per-frame app allocations cut by over 99% (31.19 KB to 0.05 KB)
10Battery-aware GPS and rendering: 2.5% battery per hour at 60 FPS while racing

Tech Stack

C++20KotlinAndroid NDKJNIOpenGL ESCMakePythonPowerShellPerfettoAddressSanitizerHWASanPostgreSQLLinuxJenkins

Added Nov 25, 2026