Team
  • Solo
Multiplayer & SportsCompany project

Duck Race

A 2D duck racing game with single player and multiplayer races, accounts, and an animated leaderboard. Multiplayer uses a host and client setup where one player hosts the room and others join.

My roleSolo gameplay and multiplayer developer
Year2025
GenreMultiplayer & Sports
PlatformsAndroid and desktop
ContextCompany project
  • Unity
  • C#
  • Photon Fusion
  • Firebase Authentication
  • DOTween

Case study

Role & contribution

What I built

I built the whole game myself: race gameplay, sign in, lobby, rooms and results. I also tried setting up a Hetzner VPS with server control and load balancing, but I was not experienced enough at that point to finish it.

  • Single player racing with random duck speed, finish detection and a following camera
  • Email sign up and login with Firebase
  • Multiplayer lobby, public and private rooms and networked duck spawning
  • Synchronized race start and finish
  • Late join spectating
  • Bot takeover when a player disconnects
  • Animated leaderboard with DOTween

Features

Highlights

  • Account registration and login
  • Single player and multiplayer races
  • Up to 16 players in a session
  • Spectator state for people joining mid race
  • Disconnect handling
  • Animated results and winner highlight

Behind the build

Technical notes

  1. Host and client structure with synchronized race state

  2. Late joiners see a “race in progress” state instead of breaking the race

  3. When someone drops, their duck turns into a bot

  4. Attempted Hetzner VPS hosting and load balancing, which taught me a lot about server side limits