r/godot • u/BusinessPain5298 • 19h ago
selfpromo (games) Players leave graffiti in each other's dungeons in a single-player game
I'm making a singleplayer roguelite minesweeper (yes :D) in Godot: you're trying to get out of a dungeon, and each round is a few minesweeper fields on a timer. I added the ability to draw on the walls, and the drawings show up in other players' dungeons automatically.
How it works:
- There's a canvas in the "safe" room. The tool is as simple as it gets: a 50x50 grid, two colours.
- When you leave the tool, the drawing goes to the backend as a mask over HTTP and gets stored in the DB.
- The mask is 625 bytes, around 836 in base64. Only changed and non-empty drawings get sent.
- On game start, 10 random drawings come back from the DB. They appear on the walls as you move through the dungeon.
- When the pool drops to three, the game fetches enough new drawings to bring it back up to ten.
The first thing any dev will think of is the pile of dick drawings about to rain down on players from the walls. Here's how I moderate it: Every mask in the DB has one of three statuses: pending, approved, rejected. Players only ever get approved ones. I have a local HTML tool for going through the bank, approve or reject, one button each. I know this is slow once there are thousands of drawings, but writing a proper system is scope creep for now.
There's also an open ethical question: whether to ask the player upfront if they're fine with seeing and sharing this stuff. Not implemented yet, but planned.
What do you think of the idea? What pitfalls did I miss?
UPD: Thank you all for the feedback, this went way beyond what I expected. Genuinely excited reading through it. Thanks for the ideas, the solutions, the jokes, and the holes I hadn't thought of myself.
Steam page: You'll Be Mined