new server

This commit is contained in:
Smile Rex
2026-01-21 18:49:12 +03:00
parent cb586cd5ce
commit 280d9801d6
19 changed files with 157 additions and 452 deletions

13
player.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"github.com/gorilla/websocket"
)
type Player struct {
ID string
Conn *websocket.Conn
X, Y float64
DX, DY float64
}