start game logic and pong physics

This commit is contained in:
Beric Bearnson
2024-08-26 10:02:05 -06:00
parent b3df666196
commit e31dbef6ef
11 changed files with 591 additions and 206 deletions
+10 -5
View File
@@ -1,10 +1,15 @@
syntax = "proto3";
package netwrk;
package pong;
option go_package = "./netwrk";
option go_package = "./pong";
message GameMessage {
string action = 1;
int32 value = 2;
message ServerUpdateMessage {
string type = 1;
string value = 2;
}
message ClientUpdateRequest {
string type = 1;
string value = 2;
sint32 player = 3;
}