Building multiplayer game using Reactive Streams
This talk introduces streams and reactive streams. You will learn how stream-based programming can be used to implement the web frontend and multiplayer backend of the classic game: Snake.
Building dynamic applications using an imperative approach tends to create lots of unmaintainable code. Stream-based programming tries to solve this problem by introducing a fully declarative way of defining application logic. While using streams, you will focus on WHAT needs to be done, not HOW and WHEN.
The talk is divided into 3 parts. In the first part you will learn how to create the frontend of the Snake web game using streams as building blocks. Then, we will move to the server side and use Scala and the Akka Stream library to create backend service that will allow the game to be played by multiple players. In the third part, we will discuss reactive streams and how they make asynchronous communication safe.
Filmed at Devoxx UK 2016 with Michał Płachta.