1
9

Self-hostable multiplayer Parchis game 🎲

1d 1h ago by lemmy.zip/u/baner in games

cross-posted from: https://lemmy.zip/post/60250839

Hey everyone 👋. I just wanted to share a little personal project that grew a bit more than I initially planned.

The original idea was simply to build a game so I could play Parchis (Ludo) with my family, as it’s a classic in our household. I ended up building the whole thing entirely through "vibecoding" (AI-assisted coding) because I wanted to see how far I could push current AI tools.

The result is a full web multiplayer game (React/Vite frontend + Node/Express/Socket.io backend with SQLite to store game data).

If anyone is curious or wants to spin it up on their local network to play with friends/family: 🔗 Repo: https://codeberg.org/baner/parchis (it has a docker-compose.yml ready to go in seconds).

⚠️ A big warning about security: As I mentioned, I completely built this relying on AI, and it was initially meant as a home project. I am not a cybersecurity expert by any means. While I have briefly exposed it to the internet a couple of times to play with remote relatives, my absolute recommendation is to host it ONLY on your local network (LAN) or behind a VPN (like Tailscale/Wireguard). The nature of AI-generated code means it's probably full of vulnerabilities that I haven't caught. Play at your own risk if you decide to open ports to the wild web! 😅

This is also my first project using a monorepo structure and publishing a Docker image for others to deploy. If you take a look and see something horrible (or something that works surprisingly well haha), all feedback is super welcome. I hope someone finds it fun for a local game night!

Lemmy isn't the place to share anything AI related at all, it consistently receives negative feedback, regardless of anything else in the post / comment

I refuse to accept that an open platform like lemmy (fediverse) is used for anything other than freedom of expression, but I appreciate your honest comment.

You are more than welcome to share it. The fediverse itself has nothing against llm’s. However, the users of the fediverse do, and therefore you will be ridiculed by people who dislike llm usage.

This is freedom of expression. You have the freedom to share llm slop, and we have the freedom to make fun of you for it.

Fair enough.

Computer, write me a smarmy Reddit-style comment mocking this guy for thinking anyone will be impressed by their ability to ask a computer to do work for them

Thanks for commenting, not actually expecting everyone to get impressed but just sharing something that is useful and fun. it just works.

doubt it but even if it does keep it to yourself, slopper

It does look nice! Are you familiar with the languages and frameworks it used, so that you could potentially clean it up under the hood?

Out of curiosity, why did you ask for a self hosted version instead of making a little web app and sharing it? I wouldn't think you'd have any data in there worth protecting.

Thanks!! Although I don't work as a developer, I know how to program in Python, and while looking to learn about TypeScript, I decided it would be a good opportunity to learn it by doing something that would be very useful at home, I'm still learning and reading code to understand every aspect of the language and its frameworks. Although it's grown more than expected, my commitment is to continue learning and improving the game logic and correcting the errors that will appear.

Very good question. I'm very involved in the world of self-hosting; I currently have a couple of home servers and several VPSs, so for me it was the most convenient path since having a Docker image makes it much easier for me to install it on my Proxmox server.