You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firebase deployment + Membership (sign up / log in / save best score)
5%
Y
Leaderboard (in-game Pause panel + Game Over screen)
5%
Y
Features
2 Stages — World 1 and World 2; Stage 2 unlocks only after clearing Stage 1
Membership system — register / login via Firebase Auth; only the personal best score is saved (lower scores do not overwrite)
Guest mode — play without registering; scores are not saved to the leaderboard
Leaderboard — all scores ranked by best, scrollable list; accessible from Pause panel (ESC) and Game Over screen; current user's row marked with ★
Pause system — press ESC to pause / resume; shows Continue / Quit / Leaderboard options
Win / Lose distinction — WIN (green) or OVER (red) shown on Game Over screen with different BGM for each
Score popups — floating +points appear above coins, enemies, mushrooms, and the flag
Time bonus — remaining time is converted to bonus score when clearing a stage
Super Mushroom — Mario grows bigger when collected; shrinks (not dies) on first enemy hit while big
Invincibility frames — Mario flashes (opacity alternates) for 2 seconds after taking damage, during which he cannot take further damage; implemented via update() to avoid schedule overlap bugs
Enemies — Goomba (walks, stomped to kill) + Piranha Plant (attacks from pipe, bite animation)
Username display — current user's name shown in the top UI bar; shows "Guest" for guest players
Input validation — username rules enforced on sign up; login / sign up forms clear on switch