How eitaar/wahoot works
Wahoot is a browser-based third-party Kahoot client. Its primary flow validates a game PIN, collects or generates a nickname, joins the live game, and presents game/question state for answering. The graph also preserves the documented configurable modules and the session-token API. Source evidence is strongest for PIN entry and the reusable Kahoot protocol client; several UI/game-stage and module implementations are indexed but not excerpted, so those links are omitted where their runtime calls are unknown.
Main entry points: client.js Connection and game state · pin.vue PIN and nickname · game-service.js Game lookup · errors.js Client errors
Components 23
Join experience
- PIN and nickname
pages/pin.vue - Nickname generator
pages/pin.vue - Client state store
stores/client.js
Live game
- Game instructions
pages/game/instructions.vue - Game start
pages/game/start.vue - Question ready
pages/game/getready.vue - Question play
pages/game/gameblock.vue - Answer status
pages/game/answered.vue - Game results
pages/game/result.vue - Client playground
pages/client.vue - Multi-client page
pages/flood.vue
Kahoot client
- Connection and game state
lib/kahoot/client.js - Game lookup
lib/kahoot/game-service.js - Message protocol
lib/kahoot/protocol.js - Event hub
lib/kahoot/events.js - Client errors
lib/kahoot/errors.js
Session service
- Game-token API
server/api/getGameToken.js - Session token derivation
server/utils/kahoot-session.js
User modules
- Module settings
stores/moduleConfig.js - Module controls
components/modules.vue - Settings panel
components/setting.vue
Other components
- Player
- Kahoot game service
Connections 32
- Player → PIN and nickname: enters PIN
pages/pin.vue - PIN and nickname → Connection and game state: checks PIN
pages/pin.vue - PIN and nickname → Nickname generator: fetches names
pages/pin.vue - Nickname generator → Kahoot game service: requests names
pages/pin.vue - PIN and nickname → Connection and game state: joins game
pages/pin.vue - Connection and game state → Game lookup: looks up game
lib/kahoot/client.js - Game lookup → Kahoot game service: fetches session
lib/kahoot/game-service.js - Connection and game state → Message protocol: builds messages
lib/kahoot/client.js - Connection and game state → Event hub: emits events
lib/kahoot/client.js - Connection and game state → Client errors: raises errors
lib/kahoot/client.js - Game lookup → Client errors: raises errors
lib/kahoot/game-service.js - Message protocol → Client errors: raises errors
lib/kahoot/protocol.js - Connection and game state → Kahoot game service: opens WebSocket
lib/kahoot/client.js - Kahoot game service → Connection and game state: sends game events
lib/kahoot/client.js - Connection and game state → Client state store: stores client
- PIN and nickname → Game instructions: navigates to
pages/pin.vue - Player → Client playground: uses test UI
pages/client.vue - Client playground → Connection and game state: joins and answers
pages/client.vue - Player → Multi-client page: uses multi-client UI
pages/flood.vue - Multi-client page → Kahoot game service: joins sessions
pages/flood.vue - Player → Game-token API: requests token
server/api/getGameToken.js - Game-token API → Session token derivation: gets session
server/api/getGameToken.js - Session token derivation → Kahoot game service: fetches session
server/utils/kahoot-session.js - Player → Module controls: configures features
README.md - Module controls → Module settings: uses settings
- Player → Settings panel: opens settings
- Module settings → PIN and nickname: controls join options
pages/pin.vue - Game instructions → Game start: continues to
- Game start → Question ready: advances to
- Question ready → Question play: advances to
- Question play → Answer status: submits answer
- Answer status → Game results: shows result