3 years ago, I started developing Swords & Ravens, an open-source online multi-player adaptation of a strategy board game I love, A Game of Thrones: The Board Game (Second Edition), designed by Christian T. Petersen and published by Fantasy Flight Games. As of Febuary 2022, around 500 players gather daily on the platform and more than 2000 games have been played since its release. While I stopped actively developping S&R, the platform is still seeing new features being added thanks to the work of the open-source community.
I’ve learned a lot while developing S&R, and I wanted to share some of the knowledge I’ve gained to people that might be interested in doing a similar project. There is a lot to say about how it works but this blog post will focus on how I’ve designed the networking part of the game. I’ll first describe the problem in a more formal way. I’ll continue by explaining how it’s solved in S&R, as well as describe other possible solutions that I’ve discovered or imagined. I’ll detail the advantages & disadvantages of each method and conclude with which method I think is the best (Spoiler alert: it’s the last one
Mobile App Development Best Practices – 28.09
iOS Decodable CoreData: A Proof-of-Concept for Building Offline-First iOS Apps The Future of Accessing User Location in SwiftUI Create SPM...
What is Dependency Injection
The primary goal of dependency injection is to reduce the coupling between components by removing the dependency resolution responsibility from...
Dependency Management in a Multi-Module Project – THIS Is How You Need to Do It
⭐ Learn how to make apps scale with a multi-module architecture.
Raspberry Pi 5 microcomputer unveiled
At launch, the Raspberry Pi 5 will come with several RAM options: $60 for the 4GB version and $80 for...
Cashew – Personal finances on Flutter
Cashew is a full-fledged, feature-rich application designed to empower users in managing their finances effectively. Built using Flutter – with...
Mobile App Development Best Practices – 27.09
Swipe Actions from Scratch, Effective code reviews for Android developers, WebP exploit and more!