Docs / Samples

Samples

Complete, runnable games. Each one is two commands to your machine: scaffold it, then run its bundled backend locally. Self-host is free - no account, no keys.

Play a live match, right now

No install, no signup. This drops you into a live Asobi server running the Arena sample - move with WASD, aim with the mouse, click to shoot. You will be matched with bots in a moment.

Patch a live game - watch nobody reconnect

This is a party trivia game whose scoring rule is hot-reloaded while you play. Answer a question, then the server's score() rule gets swapped underneath the running match - your score so far stays, the new rule applies from now on, and the connection never drops. No other game backend does this.

The hosted demo isn't up yet. Run it yourself - Docker only, no account:

git clone https://github.com/widgrensit/asobi_livepatch_lua
cd asobi_livepatch_lua && docker compose up -d
./patch.sh streak   # swap the scoring rule while a match runs

asobi_livepatch_lua on GitHub →

Best of 3 - a turn-based duel

A four-player Rock-Paper-Scissors royale. Turn-based, not real-time: the round resolves only when everyone has thrown, and the server holds each throw secretly until the reveal. Empty seats fill with bots, so you start at once. This one runs as an ordinary game on managed Asobi cloud - no hot-reload needed.

The hosted demo isn't up yet. Run it yourself - Docker only, no account:

git clone https://github.com/widgrensit/asobi_rps_lua
cd asobi_rps_lua && docker compose up -d

asobi_rps_lua on GitHub →

How this works. asobi init copies the sample into a new folder; asobi dev runs its bundled Lua backend on localhost. When you want us to host it, deploy to a managed cloud environment (paid) - the client code is identical either way.

Arena Shooter (Godot)

Arena Shooter

Godot

Top-down co-op arena. Server-authoritative movement and combat at 10 Hz, matchmaking that fills empty slots with bots, boons, modifier voting between rounds, and a kills leaderboard.

MatchmakingRealtimeBotsLeaderboardsVoting
asobi init arena --template godot
asobi dev
Arena Shooter (Defold)

Arena Shooter

Defold

Top-down co-op arena. Server-authoritative movement and combat at 10 Hz, matchmaking that fills empty slots with bots, boons, modifier voting between rounds, and a kills leaderboard.

MatchmakingRealtimeBotsLeaderboardsVoting
asobi init arena --template defold
asobi dev
Arena Shooter (Unity)

Arena Shooter

Unity

Top-down co-op arena. Server-authoritative movement and combat at 10 Hz, matchmaking that fills empty slots with bots, boons, modifier voting between rounds, and a kills leaderboard.

MatchmakingRealtimeBotsLeaderboardsVoting
asobi init arena --template unity
asobi dev