← All work
Case 05 of 06 · A mechanics story
Full-stack coursework build
Boss Breaker
Wellness habits are easier to keep when they are a game you are winning.
TypeFull-stack build · BED CA2
My roleAPI, database and game logic
Built withJavaScript · Node.js · MySQL
Sourcegithub.com/mru34/bedca2
The loop
Four mechanics, one habit.
01
Daily challenges
A wellness action is the unit of play. Doing it is how you earn anything.
02
Points
Challenges pay out points. The ledger is server-side, so the game cannot be won in the browser.
03
Boss raids
Points are spent against a shared target, which is what makes the habit worth keeping up.
04
Progression
State persists in a relational schema, so a streak survives a refresh.
Evidence
The build.
My role
I built the API, the database schema and the game logic that ties challenges, points and raids together.
Result
A complete full-stack build for the BED CA2 brief, source on GitHub.
Next project