Skip to content

Game Backends?

Hi!

Looking for opinions on "game backends" my understanding is everyone used PlayFab or Firebase (or no backend at all)?

Also how many people would be interested in a free local and cheap cloud service with a rules engine simple formulas (like health = health - 10) or other basic state that can also affect other users all at once (with say a condition like location = 123)? Is this something anyone would be interested in and is it a painful problem for you (backend for your game, do you avoid making multiplayer games because its not worth making a backend for it, etc.)?

Thanks!

0 points20 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 10% up
Kind
Text
ID
1pgpr49

Author

2
posts
17
comments
0
media
View profile

20 comments

What you are describing isn't really enough to be a full product.

I'm not sure how you would make it free if it was sufficient enough to be a product either without pumping in VC cash like Playfab did.

5 points

It will be released as free (free for commercial and personal use) except for managed hosting (that will be us). We have alternatives to VC cash.

1 points

Just build your game backend in rust and deploy to digitalocean 

What you describe would not be helpful no 

5 points

Yes, we are looking at multiple distribution channels like Docker, Tauri, npm package and so on

EDIT: Sorry also Godot/Unity/Unreal plugins as well depending on what the market likes

1 points

Im so confused with the mixture of local and cloud.....

Do you mean "local" to my City? Or local like in my own computer (in which case ir won't be cloud anymore) ?

Ahhh, new account, no karma, NVM, proly a script kiddie then.

2 points

I think OP meant "free to self-host (aka local), affordable SaaS"

1 points

Yes, running locally for yourself (or packaged in your own binary we are thinking of a Tauri starter with pglite as the embedded database) will be free forever with no limits. We think that is fair and solves a lot of problems for us with adoption (what if they are gone in a few years, what if it dies, etc.)

1 points

Ah that makes sense, selfhost would have been easier to understand.

1 points

Also how many people would be interested in a free local and cheap cloud service with a rules engine simple formulas (like health = health - 10)…

Gonna stop you right there.

There is a good way to make rules engines like this. The good way is to use a programming language, and to write the code yourself. A programming language like C#, Java, Go, Rust, or one of the other languages suitable for writing backends.

There are a lot of bad ways to do this. Some of the bad ways to do this are to try and make some kind of web app, configuration file, graphical interface, or node-based system. Or a rules-based engine, for that matter.

What ends up happening with rule-based engines is that you discover, after painful experimentation, that you have basically reinvented programming, but not as good. The problem is that you quickly end up with more and more complicated rules with conditions and triggers. Programming languages are the main way that people are comfortable writing complicated rules, conditions, and triggers.

1 points

Yes, we are being very careful to avoid the "reinventing programming language" issue. It will not be Turing complete or anything near that, and will have escape hatches for the edge cases our DSL won't cover. We are developing the rules engine in TypeScript and the source will be available and very high unit and other test coverage.

Generally the idea is to create a declarative over imperative paradigm. You're going to say functional programming, but functional programming is a hill to climb. Basically we are looking at making a product like Terraform or React, but for backend logic (describe what you want, not how to do it). It is a very interesting little project / product that may have a very limited use case (or only useful for us) but we will be making it regardless.

1 points

Declarative is a much higher hill to clime than functional, for sure :-)

I’m very skeptical. Declarative barely works for situations like Terraform in the first place (how much have you used Terraform?) and for something like a game backend, if I saw that it was based on declarative rules, I would be curious but incredibly skeptical. You have a lot of problems to solve, that you would not have to solve if you were writing ordinary code.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.