bettola/src
Ritchie Cunningham 9b4aa84a30 feat(network): Server reconciliation and fix UDP messaging.
Initial implementation of server-side reconciliation for player
movement.

Clients respect the server as the authoritative source for game state.
In 'process_game_state', the client compares its locally predicted pos
with the state received from the server and snaps to the server's
position if they diverge.

Had to add a defensive check to the server-side Player constructor to
fix a bug where the first connecting client was incorrectly assigned an
ID of 0. This prevented it from sending or recieving any game data.
2025-09-14 01:33:35 +01:00
..
game feat(network): Server reconciliation and fix UDP messaging. 2025-09-14 01:33:35 +01:00
graphics feat(render) Render shaders! 2025-09-12 21:49:15 +01:00
bettola.cpp feat(network): Server reconciliation and fix UDP messaging. 2025-09-14 01:33:35 +01:00
bettola.h feat(network): Server reconciliation and fix UDP messaging. 2025-09-14 01:33:35 +01:00
main.cpp refactor: Add everything to main Bettola class. 2025-09-12 20:41:49 +01:00