How kauri-off/fallbeans works
Fall Beans is a multiplayer party game with a Bevy client and an authoritative Rust server. The main workflow is: a player chooses or adds a server, obtains a session and joins a room, then plays rounds whose state is simulated by the server and presented by the client. The graph also preserves practice with bots, map content, graphics configuration, and server diagnostics. Edges follow explicit README workflow statements or source-index references; unsampled implementation details are represented only where the README documents them.
Main entry points: src/net.rs Client transport · sim.rs Authoritative simulation · mod.rs Screens and controls · src/net.rs Server networking
Components 23
Player client
- Screens and controls
crates/fb_client/src/ui/mod.rs - Server selection
crates/fb_client/src/servers.rs - Player settings
crates/fb_client/src/settings.rs - Room session
crates/fb_client/src/session.rs - Client transport
crates/fb_client/src/net.rs - Client game
crates/fb_client/src/game.rs - Game view
crates/fb_client/src/view.rs - Graphics and upscaling
crates/fb_client/src/render/quality.rs
Server and rooms
- HTTP API
crates/fb_server/src/http.rs - Identity and auth
crates/fb_server/src/auth.rs - Server networking
crates/fb_server/src/net.rs - Room coordination
crates/fb_server/src/rooms/room/mod.rs - Round flow
crates/fb_server/src/rooms/room/flow.rs - Authoritative simulation
crates/fb_server/src/rooms/room/sim.rs - Debug API
crates/fb_server/src/http.rs
Game simulation
- Physics and world
core/fb_sim/src/physics.rs - World construction
core/fb_sim/src/builder.rs - Maps and rounds
core/fb_maps/src/race/mod.rs - Bot behavior
core/fb_sim/src/bots/mod.rs
Shared contracts
- Network schema
crates/fb_net/src/schema.rs - Shared game rules
core/fb_shared/src/rules.rs
Other components
- Player
- Configured game server
Connections 21
- Player → Screens and controls: uses
README.md - Screens and controls → Server selection: selects server
README.md - Screens and controls → Player settings: changes settings
crates/fb_client/src/ui/mod.rs - Server selection → Client transport: connects
crates/fb_client/src/servers.rs - Client transport → HTTP API: requests session
README.md - Client transport → Server networking: joins over UDP or WebSocket
README.md - HTTP API → Identity and auth: authenticates
crates/fb_server/src/auth.rs - Server networking → Room coordination: routes players
README.md - Room coordination → Round flow: manages rounds
crates/fb_server/src/rooms/room/mod.rs - Round flow → Authoritative simulation: starts simulation
crates/fb_server/src/rooms/room/mod.rs - Authoritative simulation → Physics and world: steps world
- Authoritative simulation → Maps and rounds: runs map
- Authoritative simulation → Bot behavior: fills empty places
README.md - Client transport → Network schema: exchanges messages
- Server networking → Network schema: exchanges messages
- Client game → Game view: presents game
- Game view → Graphics and upscaling: renders with
crates/fb_client/src/render/quality.rs - Player settings → Graphics and upscaling: configures
crates/fb_client/src/settings.rs - Client game → Shared game rules: uses rules
- Configured game server → HTTP API: serves API
README.md - Player → Debug API: requests diagnostics
README.md