How somunaexe/pseudodemocracy works
Pseudodemocracy is a multiplayer political-satire game, with a Godot client, game rules, and a WebSocket-backed server. The likely player workflow is to connect, enter a lobby, play turns at the table, and reach a game result; the tree also shows exam and law-amendment stages. The README provides no capability details, and most runtime source was not sampled, so links among these components are shown as unverified rather than asserted calls. The central game, client, server, and content branches are represented without mapping tests or deployment tooling.
Main entry points: game.gd Game Coordinator · table_screen.gd Table Screen · session_model.gd Game Sessions · lobby_screen.gd Lobby Screen
Components 22
Player Client
- Lobby Screen
client/lobby_screen.gd - Connection
client/connection.gd - Table Screen
client/table_screen.gd - Exam Screen
client/exam_screen.gd - Client Models
client/session_model.gd
Game Engine
- Game Coordinator
scripts/game.gd - Game State
scripts/game_state.gd - Turn Flow
- Law Amendment
scripts/amendment_flow.gd - Card Effects
scripts/card_effects.gd - Scoring
scripts/scoring.gd - Game Views
scripts/views.gd
Game Content
- Article Source
data/source/articles.js - Card Source
data/source/cards.js - Exam Questions
data/source/exam_questions.js - Rules Data
data/source/game_data.js
Session Server
- Disk Store
server/disk_store.gd - Memory Store
server/memory_store.gd - Server Core
server/server_core.gd - WebSocket Server
server/ws_server.gd - Game Sessions
client/session_model.gd
Other components
- Player
Connections 20
- Player → Lobby Screen: enters lobby
- Lobby Screen → Connection: connects through
- Connection → WebSocket Server: communicates with
- WebSocket Server → Server Core: dispatches to
- Server Core → Game Sessions: manages
- Game Sessions → Memory Store: may store in
- Game Sessions → Disk Store: may persist to
- Player → Table Screen: plays at
- Table Screen → Game Coordinator: sends actions to
- Game Coordinator → Game State: updates
- Game Coordinator → Turn Flow: advances
- Game Coordinator → Law Amendment: handles amendments via
- Game Coordinator → Card Effects: applies
- Game Coordinator → Scoring: calculates results with
- Table Screen → Game Views: displays
- Player → Exam Screen: takes exam at
- Exam Screen → Exam Questions: uses questions from
- Game Coordinator → Article Source: uses article content from
- Game Coordinator → Card Source: uses card content from
- Card Source → Rules Data: imports rules values from
data/source/cards.js