internal/

directory
v0.0.0-...-a5b18d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2026 License: MIT

README

Internal Packages

Private packages for the game. Not intended for import by external projects.

Package Description
protocol Shared types, messages, version constants
server Authoritative game server and tick loop
client Terminal client, rendering, input
game ECS components and game world
collision Tile and AABB collision detection
render Terminal renderers (ASCII, half-block, braille)
input Keyboard capture and intent mapping
network TCP/QUIC transport layer
sync State snapshots and delta compression
lobby Room codes and server discovery

Package Dependencies

cmd/rayman ──► client ──► render
                │         input
                │         network
                │         sync
                ▼
              server ──► game ──► collision
                │
                ▼
              protocol

cmd/rayserver ──► server

cmd/lookup ──► lobby

Directories

Path Synopsis
Package client implements the game client.
Package client implements the game client.
Package collision implements collision detection.
Package collision implements collision detection.
Package game defines ECS components and game logic.
Package game defines ECS components and game logic.
Package lobby handles game discovery and joining.
Package lobby handles game discovery and joining.
Package network implements client-server communication.
Package network implements client-server communication.
Package protocol defines shared types and version constants for client-server communication.
Package protocol defines shared types and version constants for client-server communication.
Package render provides game rendering functionality.
Package render provides game rendering functionality.
Package server implements the authoritative game server.
Package server implements the authoritative game server.
Package sync handles state synchronization between server and clients.
Package sync handles state synchronization between server and clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL