start game logic and pong physics
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user