How glapko/oxihex works
Oxihex is a Rust hex-strategy game prototype: the README describes simultaneous seasonal turns, a player-authored Chronicle, and vassalage. The sampled runtime currently consists of a Bevy client that starts a 2D camera and a minimal Bevy server; shared code defines players and serializable world, chunk, tile, and hex types. The README capabilities are shown as documented systems, not implemented flows. Source excerpts establish the shared-model dependencies; they do not show networking or gameplay orchestration.
Main entry points: lib.rs Shared API · world.rs World state · chunk.rs World chunks · tile.rs Tile ownership
Components 12
Runtime shells
- Client app
client/src/main.rs - Server app
server/src/main.rs
Shared game model
- Shared API
common/src/lib.rs - Player records
common/src/player.rs - World state
common/src/world.rs - World chunks
common/src/world/chunk.rs - Tile ownership
common/src/world/chunk/tile.rs - Hex coordinates
common/src/world/hex.rs - Building type
common/src/world/chunk/tile/building.rs
Documented gameplay
- Seasonal turns
README.md - Player Chronicle
README.md - Vassalage
README.md
Connections 5
- Shared API → World state: exports
common/src/lib.rs - Shared API → Player records: exports
common/src/lib.rs - World state → World chunks: uses
common/src/world.rs - World chunks → Tile ownership: stores
common/src/world/chunk.rs - Tile ownership → Player records: references
common/src/world/chunk/tile.rs