Files
Claude-Code-Game-Studios/.claude/rules/network-code.md
T
DonchitosandClaude Opus 5.5 b21fa0f7f2 Release 1.1.2 — the default path works end to end
Fix release for 1.1.1: the minimal path end to end, engine commands that
run on Godot, Unity and Unreal, hook warnings you can see, and verdicts
that say when they could not check. Details in CHANGELOG.md; upgrade
steps in UPGRADING.md (v1.1.1 → v1.1.2).

Fixes #67
Fixes #131

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WuJn2FdynEybfL5KC697nJ
2026-09-29 21:32:19 +10:00

811 B

paths
paths
src/networking/**
Assets/**/{Networking,networking,Network,network}/**/*.cs
Source/**/{Networking,networking,Network,network}/**/*.{h,cpp}

Network Code Rules

  • Server is AUTHORITATIVE for all gameplay-critical state — never trust the client
  • All network messages must be versioned for forward/backward compatibility
  • Client predicts locally, reconciles with server — implement rollback for mispredictions
  • Handle disconnection, reconnection, and host migration gracefully
  • Rate-limit all network logging to prevent log flooding
  • All networked values must specify replication strategy: reliable/unreliable, frequency, interpolation
  • Bandwidth budget: define and track per-message-type bandwidth usage
  • Security: validate all incoming packet sizes and field ranges