How toto789520/roudelafortune works
Roudelafortune is a self-hosted, account-free multiplayer Wheel of Fortune web game. Players choose a name, create or join a coded game, wait for the host to start it, take turns guessing letters, and see the finished scores. Flask route handlers in app.py manage these stages and render the HTML views; Redis holds game state, while the app also exposes a game-state update API. The README emphasizes autonomy, but does not document further architecture. Some route logic and CSV-loading code were not shown, so uncertain links are omitted.
Main entry points: app.py Gameplay · index.html Home view · waiting.html Waiting view · game.html Game view
Components 15
Web experience
- Web routes
app.py - Name setup
app.py - Home view
templates/index.html
Game flow
- Create game
app.py - Join game
app.py - Waiting room
app.py - Waiting view
templates/waiting.html - Gameplay
app.py - Game view
templates/game.html - Letter guesses
app.py - Results
templates/finished.html
Game state
- Word data
data/data.csv - Redis state
- State update API
app.py
Other components
- Players
Connections 20
- Players → Web routes: visits
app.py - Web routes → Home view: renders
app.py - Players → Name setup: sets name
app.py - Name setup → Home view: redirects
app.py - Players → Create game: creates
app.py - Create game → Redis state: stores game
app.py - Players → Join game: joins
app.py - Join game → Redis state: checks game
app.py - Players → Waiting room: waits
app.py - Waiting room → Redis state: reads and updates
app.py - Waiting room → Waiting view: renders
app.py - Players → Gameplay: plays
app.py - Gameplay → Redis state: reads game state
app.py - Gameplay → Game view: renders
app.py - Players → Letter guesses: submits letters
app.py - Letter guesses → Redis state: updates scores
app.py - Gameplay → Results: renders finished game
app.py - Players → State update API: requests update
app.py - State update API → Redis state: reads state
app.py - Create game → Word data: selects word