Hey everyone! I'm new to the Vapor community and I'm developing a gamified app using SwiftUI. I was wondering if anyone has recommendations for a free server that I can use in my app. The data I need to store isn't too complex, including things like a player's number of correct answers, whether they've finished the game, among others. However, since it's a multiplayer game, server speed is crucial. Any suggestions that meet these requirements? Thanks in advance for the help!
#Looking for Recommendations: Free Vapor Server for Multiplayer SwiftUI Game App
1 messages · Page 1 of 1 (latest)
Depending upon the requirements, why not CloudKit to host the data?
If it is just data you are storing
What exactly should be "free" here? Developing such a thing, if at all possible on Vapor, if definitely a time-consuming endeavour. You don't get high-performance machines in the cloud for free anywhere either
For my application, CloudKit is too slow. I don't want to store data per se, just exchange data from one device to another, or from one device to others in the same lobby.
If "local" multiplayer, the GameSDKs can probably handle it and just process it on a "host" device. If doing MP across the wire, then you'll need to build out the backend yourself (vapor can handle it just fine) but will require paying for a server especially if you want high performance.
My app needs to be networked. I already have an MVP with SharePlay, however, the session connection method isn't very user-friendly.
What about GameKit
My app likely won't have many users as I'm developing it more as a challenge during my internship. Therefore, the consumption-related costs are unlikely to be very high.
It cannot be local, which is why I opted to use SharePlay in the MVP instead of Multipeer/GameKit
Might want to look at the MatchMaking API part of GameKit. I think that will do what you want.
With this 'MatchMaking,' is it possible to play from a device on network A with another on network B?
That is what it looks like
ok, I'll look