Skip to content

Multiplayer Simon Says game using bidirectional gRPC streaming

License

Notifications You must be signed in to change notification settings

AlaNDGT/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.

About

Multiplayer Simon Says game using bidirectional gRPC streaming

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 57.1%
  • Java 19.2%
  • JavaScript 12.1%
  • Makefile 8.1%
  • HTML 2.1%
  • Shell 1.4%