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:
- Freestyle, Free & Tagless: Separation of Concerns on Steroids (SkillsCast recorded in December 2017)
- Modern development with Java (in London on 15th - 17th July 2019)
- Migrating to Java 11 with Ben Evans (in London on 28th - 29th October 2019)
- Workshop: Room With A View (SkillsCast recorded in October 2018)
- Flutter State Management (SkillsCast recorded in August 2018)
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.