top of page

Create Your First Project

Start adding your projects to your portfolio. Click on "Manage Projects" to get started

FYP(Sem B) Week 8: The Dashboard Comes Alive

First real coding week and it felt great to finally build something. We focused on the Dashboard since that is the page players will spend the most time on.

We built the stat cards — City Health, Budget Remaining, CO₂ Emissions, Uncollected Waste — and connected them to the backend logic from last week. Seeing actual numbers appear on screen and change as we manually adjusted values was honestly a bit of a rush. Like okay this is becoming a real thing.

We added colour coding so the stats shift from green to amber to red as things get worse. We put in the day counter showing Day X out of 180. And we started building the role-specific widgets — the Broker sees a trading summary, the MRF sees processing stats, the Municipality sees district collection info.

BUT. We hit a nasty bug. The stats were updating fine on one player's screen but when we tested with two browsers open, the second one was showing stale data. Classic sync issue. We wrote it down and decided to deal with it properly in Week 10 because trying to fix multiplayer sync at the same time as building the dashboard would have been too much.

Still, ending the week with a working dashboard that shows live data felt like real progress.

bottom of page