How tucoerthal/xadrezes2_frontend works
XadrezES2 Frontend is a Godot chess-game client. The documented user journey spans authentication, lobby and room entry, then live-game viewing and local board interaction. Its main runtime areas are screen routing, HTTP/WebSocket integration, and 3D game presentation. The README documents these capabilities and broad relationships, but no source excerpts were provided; edges therefore reflect only those documented relationships, not unverified calls between particular screens and clients.
Main entry points: Router.gd Screen router · Board.gd 3D board · GameUI.gd Game screen · HomeScreen.gd Home screen
Components 20
Screens and navigation
- Application startup
Core/Main.gd - Screen router
Core/Router.gd - Home screen
UI/Screens/HomeScreen.gd - Login screen
UI/Screens/LoginScreen.gd - Lobby screen
UI/Screens/LobbyScreen.gd - Create room
UI/Screens/CreateRoomScreen.gd - Waiting room
UI/Screens/WaitingRoomScreen.gd - Game screen
UI/Screens/GameUI.gd
Backend integration
- REST client
Network/RestClient.gd - WebSocket client
Network/WsClient.gd - Backend HTTP API
- Backend WebSocket
Game presentation
- Game manager
Levels/GameManager.gd - 3D board
Levels/Board.gd - Board surface
Levels/Checkerboard.gdshader - Chess pieces
Entities/Pieces/Piece.gd - Camera controls
Entities/Camera/CameraControls.gd - Chess notation
Utils/ChessNotation.gd
Runtime configuration
- Environment settings
Env.gd
Other components
- Player
Connections 13
- Player → Home screen: starts journey
README.md - Screen router → Home screen: routes screens
README.md - Screen router → Login screen: routes screens
README.md - Screen router → Lobby screen: routes screens
README.md - Screen router → Create room: routes screens
README.md - Screen router → Waiting room: routes screens
README.md - Screen router → Game screen: routes screens
README.md - REST client → Backend HTTP API: sends HTTP requests
README.md - WebSocket client → Backend WebSocket: receives game updates
README.md - Backend HTTP API → 3D board: provides FEN positions
README.md - Game screen → 3D board: presents gameplay
README.md - Camera controls → 3D board: controls viewpoint
README.md - 3D board → Chess pieces: represents pieces
README.md