Multiplayer Simon Says - A Game using gRPC and Kubernetes.
This is an example project using gRPC and Kubernetes to build a multiplayer version
of the game "Simon Says".
It has been implemented in multiple languages to highlight the variety of supported languages that gRPC
gives you out of the box.
Folder Structure
- /server
This is the directory for the server implementation
- /go
An example server implementation using Go and Redis
- /client
Client implementations written in a variety of languages and platforms
gRPC Communication
The following animation shows the way in which gRPC sends message over it's bidirectional streaming
connection, to enable gameplay.
Here we can see:
- Two players on different devices joining the game,
- Being notified it is their turn
- Communicating a button press on their clients
- Being told to light up given colors
- When the game has ended, because a sequence is incorrect
- Who has won the game in the end
Presentation Recordings
Ubiquity Dev Summit, 2016
Contributing changes
Licensing
This is not an official Google Product.