How kylie122/react works
Dog Casino is a client-side Expo app for playing three betting games and reviewing performance. Players start at the home screen, choose a game, place bets, and see the result; game screens update shared balance and statistics state, which the statistics screen reads. The README documents only the Expo starter and file-based routing, so game capabilities come from the sampled screens. All edges below are supported by excerpts; state is in-memory, with no persistence or external casino service shown.
Main entry points: _layout.tsx Balance and records · index.tsx Game selection · dogfight.tsx Dog Fight betting · dice.tsx Dice betting
Components 8
App navigation
- Game selection
app/index.tsx - Route stack
app/_layout.tsx
Casino games
- Dog Fight betting
app/dogfight.tsx - Dice betting
app/dice.tsx - Slots betting
app/slots.tsx - Performance stats
app/stats.tsx
Session state and stats
- Balance and records
app/_layout.tsx
Other components
- Player
Connections 18
- Player → Game selection: opens app
app/index.tsx - Game selection → Route stack: navigates routes
app/index.tsx - Route stack → Game selection: renders route
app/_layout.tsx - Route stack → Dog Fight betting: renders route
app/_layout.tsx - Route stack → Dice betting: renders route
app/_layout.tsx - Route stack → Slots betting: renders route
app/_layout.tsx - Route stack → Performance stats: renders route
app/_layout.tsx - Dog Fight betting → Balance and records: updates balance and record
app/dogfight.tsx - Dice betting → Balance and records: updates balance and record
app/dice.tsx - Slots betting → Balance and records: updates balance and record
app/slots.tsx - Game selection → Balance and records: reads balance
app/index.tsx - Dog Fight betting → Balance and records: reads balance
app/dogfight.tsx - Dice betting → Balance and records: reads balance
app/dice.tsx - Slots betting → Balance and records: reads balance
app/slots.tsx - Performance stats → Balance and records: reads records
app/stats.tsx - Player → Dog Fight betting: places bet
app/dogfight.tsx - Player → Dice betting: places bet
app/dice.tsx - Player → Slots betting: places bet
app/slots.tsx