WIP: Add input broadcasting and client-side prediction features

Changes include:
- Client: INPUT_BROADCAST packet handling and opponent prediction rendering
- Client: Protocol parsing for INPUT_BROADCAST packets
- Server: Input broadcasting to all clients except sender

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vladyslav Doloman
2025-10-19 15:17:16 +03:00
parent c4a8501635
commit ed5cb14b30
5 changed files with 408 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
{
"permissions": {
"allow": [
"Read(//g/Coding/code2/**)",
"Bash(python -m py_compile server/server.py)",
"Bash(node --check client/client.js)",
"Bash(node --check client/protocol.js)"
],
"deny": [],
"ask": []
}
}