Building Donkey
Hi everyone, I'm Vladimir, a solo developer from Serbia.
This is the first post in a series about how I'm building Donkey. I'll write about the tools and the problems along the way, and I'd love to hear how you handle similar things in your own projects.
Donkey ("Magarac") is a game I played as a kid in my village, with cards, around one table. I wanted to make it for Quest, played with hands.
The rules are simple
- The setup: Four players sit around a table. There are 17 sticks: four each of red, blue, green and yellow, plus one black stick. Each player starts with four sticks, except the starting player, who gets five.
- Pass the sticks: The player holding five sticks chooses one and passes it to the player on their right. That player now has five and must pass one along. Play continues around the table.
- The goal: Collect four sticks of the same color.
- The black stick: Whoever receives it must pinch it to show it to everyone, and while you hold it you can't slap first. You can only pass it on after three full rounds.
- Slap the table: As soon as you have four matching sticks, slap the center of the table! But you can only slap while holding exactly four sticks. If you have five, pass one first.
- Don't be last! When someone slaps, everyone else must quickly pile their hands on top. The last player to slap gets a letter. Anyone who slaps incorrectly also gets a letter.
- Don't become the DONKEY! Each penalty earns you the next letter in D-O-N-K-E-Y. Collect all six letters, and you're the donkey!
First goal: just make it work
I started from Unity's MR Multiplayer Tabletop template, which already has the table, seats and networking, and built the game on top.
In about a week I had it working (a basic round):

First bot
It was almost nothing: two cubes as hands, with a stick put into one of them.
.

Then I added a Dummy as the body and tried to drive its arms with IK.


I tried to add more to the movement, to make it more natural...

And then I kept adding more:


The hand reached the stick, but it didn't look right. It moved like a machine.
So I had a basic game, basic movement and a rudimentary bot. And then I started thinking about bots more than anything else.
Why the bots became so important
At first, I only wanted bots to make development and testing easier.
But as development progressed, I realized that building a multiplayer game without a team of testers was going to be difficult, and that bots could play a much bigger role than I had originally imagined.
Finding three other people to test the game with isn't easy for me, and I realized that players might face the same problem once the game is released.
In the beginning, there probably won't be many people online. And if players have to wait for three others to join before they can start playing, that's hardly going to help the game grow.
So I decided that bots should do more than just help me test the game. They should fill empty seats, keep the game going when someone leaves, and give real players the freedom to join at any time and take a bot's place.
That way, you never need four people online to enjoy a four-player game.
What started as a development tool became one of the most important features of the game.
Next part: how I made the bots move less like machines
