Skip to content

grpc-ecosystem/grpc-simon-says

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiplayer Simon Says - A Game using gRPC and Kubernetes.

Simon Says Game

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

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

gRPC Communication

Presentation Recordings

Uniquity, 2015
Ubiquity Dev Summit, 2016

Contributing changes

Licensing

This is not an official Google Product.