How sravan99k/sos-bord-game works
GAMEZONE is a React playground for SOS, with local setup, computer or friend play, and a puzzle section; Tombola is scaffolded rather than fully implemented. The main workflow is selecting SOS, configuring a game, then playing on the grid. The graph includes the documented Tombola pages and puzzle data, but their wiring is limited to what the README, tree, and sampled code establish; unsampled page behavior is not inferred.
Main entry points: App.tsx Routes and toaster · TombolaAuth.tsx Tombola auth · Index.tsx Game selection · SOSSetup.tsx SOS setup
Components 14
App shell
- React entry
src/main.tsx - Routes and toaster
src/App.tsx - Game selection
src/pages/Index.tsx
SOS game
- SOS setup
src/pages/SOSSetup.tsx - SOS gameplay
src/pages/SOSGame.tsx
Puzzle content
- SOS puzzles
src/pages/SOSPuzzles.tsx - Puzzle definitions
src/data/puzzles.ts
Tombola scaffold
- Tombola auth
src/pages/TombolaAuth.tsx - Tombola lobby
src/pages/TombolaLobby.tsx - Tombola room
src/pages/TombolaRoom.tsx - Tombola game
src/pages/TombolaGame.tsx - Browser local storage
- Tombola utilities
src/lib/utils.ts
Other components
- Player
Connections 19
- Player → React entry: opens app
- React entry → Routes and toaster: renders
- Routes and toaster → Game selection: routes /
- Routes and toaster → SOS setup: routes setup
- Routes and toaster → SOS gameplay: routes game
- Routes and toaster → SOS puzzles: routes puzzles
- Routes and toaster → Tombola auth: routes auth
- Routes and toaster → Tombola lobby: routes lobby
- Routes and toaster → Tombola room: routes room
- Routes and toaster → Tombola game: routes game
- Player → Game selection: selects game
- Game selection → SOS setup: starts SOS setup
- SOS setup → SOS gameplay: starts game
- Player → SOS gameplay: plays moves
- Player → Tombola auth: enters details
- Tombola auth → Browser local storage: stores profile
- Tombola auth → Tombola lobby: navigates
- Player → Tombola game: plays Tombola
- Tombola game → Tombola utilities: generates ticket