syntax = "proto2"; package wordle_de; message Login { optional string username = 1; optional string password = 2; } message Guess { optional string guess = 1; } message GameState { optional uint32 tries = 1; repeated Guess guesses = 2; optional bool newWord = 3; } message Message { oneof msg { Login login = 2; Guess guess = 3; GameState gameState = 4; } }