Hello !

Back in the day I made some “MMO” web games, you know you have action points, ‘many’ players, enemies items etc and it’s all “real time” (but you’d only play once or twice a day) and Lemmy have made me quite nostalgic so I thought why not whip up a little game?

So first I thought I could use the users (and the authentication in the http request) of the lemmyverse as players (go to my game community, be redirected to the game, and your credentials is already your login/pass) but I don’t really know how to do that, and I feel I’d spend way too much time doing it and maintaining it.

So I thought, I just redirect a community to a “webserver” that does it all, and that’s why I’m here.

What’s, in your opinion, the easiest simplest webserver with an authentication system where I can plug my game (the game will take like GET/POST variables and give some text and GET/POST inputs back and that’s about it).

The best would be some fire & forget soft that’s a bit supported. I know I can install Apache and make it work but it seems so large for what I want to do.

Ah, and a Rust “backend” (my game) would be cool, or python if that’s not possible.

Cheers

  • nickwitha_k (he/him)
    link
    29 months ago

    For a Rust backend, you might check out Bevy. I’ve been meaning to take a look for a while but paused due to all the Rust drama.

    • @Valmond@lemmy.mindoki.comOP
      link
      fedilink
      19 months ago

      Bevy seems to be a game engine, and that’s not what I’m looking for.

      Best case I’d like an already built front end with registration and login, so that my code can just do the game stuff.

      • nickwitha_k (he/him)
        link
        2
        edit-2
        9 months ago

        Oh. I misunderstood your request.

        For webserver, as mentioned by others, any modern webserver will work as a reverse proxy for your app backend. All offer HTTP Basic Auth (user + hashed password). For anything more complex, something like Keycloak would be the way to go for an auth middleware.