C6i7vdqfiaxp1ychwfv4
SkillsCast

Building multiplayer game using streams - Beginner

8th December 2016 in London at Business Design Centre

There are 57 other SkillsCasts available from Scala eXchange 2016

Please log in to watch this conference skillscast.

606941328 640

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.

Building multiplayer game using streams - Beginner

Michał Płachta

Polyglot software engineer specialised in developing distributed applications. During last 15 years of professional experience he has built applications in Perl, PHP, C++, C#, Ruby, JavaScript, Java and now Scala. He is currently working as team leader at Ocado Technology, where he builds actor-based software for automated warehouse.