How cs196illinois/fa26-mp-codebases-geouiuc works
GeoUIUC is a campus-location guessing game: players sign in, start a round, explore a Street View location, submit a map guess, and see their score before continuing or returning to the lobby. The frontend also provides profile statistics and shared audio/settings controls. The graph reflects documented product capabilities and source-indexed imports; Firebase backend behavior beyond the shown client-side reads and writes is not detailed in the available excerpts.
Main entry points: game/page.js Game Round · login/page.js Google Sign-in · SettingsModal.js Settings Modal · lobby/page.js Game Lobby
Components 17
Identity and Profile
- Google Sign-in
Frontend/src/app/login/page.js - Login Button
Frontend/src/components/LoginButton.js - Firebase Client
Frontend/src/components/firebase-config.js - Firebase Auth and Database
- Game Lobby
Frontend/src/app/lobby/page.js - Player Profile
Frontend/src/app/profile/page.js
Round Gameplay
- Game Round
Frontend/src/app/game/page.js - Campus Point Picker
Frontend/src/app/game/test-scripts/randpoint.js - Guess Map
Frontend/src/app/game/GuessMap.js - Google Maps and Street View
- Round Score Screen
Frontend/src/app/game/ScoreScreen.js - Result Route
Frontend/src/app/game/result/page.js - Result Score Bar
Frontend/src/app/game/result/ScoreBar.js
Account and Preferences
- Audio Controls
Frontend/src/components/AudioProvider.js - Settings Modal
Frontend/src/components/SettingsModal.js
Shared Application
- Application Layout
Frontend/src/app/layout.js
Other components
- Player
Connections 22
- Player → Google Sign-in: starts sign-in
README.md - Google Sign-in → Login Button: renders
Frontend/src/app/login/page.js - Login Button → Firebase Client: starts Google sign-in
Frontend/src/components/LoginButton.js - Google Sign-in → Firebase Auth and Database: creates user record
Frontend/src/app/login/page.js - Firebase Client → Firebase Auth and Database: provides auth and database
README.md - Player → Game Lobby: enters game
README.md - Game Lobby → Firebase Auth and Database: reads player stats
Frontend/src/app/lobby/page.js - Player → Player Profile: views profile
Frontend/src/app/profile/page.js - Player Profile → Firebase Auth and Database: reads player stats
Frontend/src/app/profile/page.js - Player → Game Round: starts round
- Game Round → Campus Point Picker: chooses location
Frontend/src/app/game/page.js - Game Round → Google Maps and Street View: loads Street View
README.md - Game Round → Guess Map: renders map
Frontend/src/app/game/page.js - Guess Map → Google Maps and Street View: displays map
- Game Round → Round Score Screen: shows round score
Frontend/src/app/game/page.js - Round Score Screen → Game Lobby: returns when complete
Frontend/src/app/game/ScoreScreen.js - Player → Result Route: opens result page
- Result Route → Result Score Bar: renders
Frontend/src/app/game/result/page.js - Application Layout → Audio Controls: provides audio context
Frontend/src/app/layout.js - Application Layout → Settings Modal: renders globally
Frontend/src/app/layout.js - Settings Modal → Audio Controls: controls volumes
Frontend/src/components/SettingsModal.js - Settings Modal → Firebase Auth and Database: checks sign-in
Frontend/src/components/SettingsModal.js