Chapter 10. Company Atop the Clouds – Co-op Multiplayer
After a long journey through to the book, with lots of lessons learned, we have now arrived at the last chapter. This is where we will handle a topic with growing importance in the modern times—networking. This subject shall not be overlooked as it can be very difficult to learn and implement. It is complicated enough for people to actually dedicate their careers on dealing exclusively with it. Usually network programmers are very experienced and good at it, so they can do it efficiently and provide a good multiplayer gameplay to the end users.
Obviously, even if we wanted to, we couldn't teach every single thing about network programming, good practices, and different implementations. However, we try to pass on some knowledge on how to achieve a multiplayer experience, keeping things as simple as possible. Based on the game we've built so far throughout the book, we now add two new concepts: local cooperation and actual network gameplay...