Please log in to watch this conference skillscast.
In this talk you will learn how stream-based programming can be used to implement web frontend and multiplayer backend of the classic game: Snake.
Building dynamic applications using imperative approach tends to create lots of unmaintainable code. Stream-based programming tries to solve this problem by introducing 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 a frontend of the Snake web game using streams as building blocks. Then, you will explore the server side and use Scala and Akka Streams library to create backend service that will allow the game to be played by multiple players. In the third part, you will discover reactive streams and how they make asynchronous communication safe.
The Call for Papers is now open for Scala eXchange 2017! Submit your talk for the chance to join a stellar line-up of experts on stage. Find out more.
YOU MAY ALSO LIKE:
Building multiplayer game using streams - Beginner
Polyglot software engineer specialised in developing distributed applications. Functional programming enthusiast. Loves the human component in software projects. Drinks a lot of tea. Has a blog at michalplachta.com. He currently works as team leader at Ocado Technology, where he is building actor-based software for automated warehouses.