Skip to content
Back to projects

Connect5

Live

A five-in-a-row board game with real online multiplayer

Role: Solo developer

Solo · Since Jul 2026 · Public repo

Unity 6C#Netcode for GameObjectsUnity Relay
50
C# scripts

A five-in-a-row board game with a local AI opponent and real online multiplayer. Peer connection is handled through Unity Relay so there's no port forwarding, no dedicated server to run.

Problem

Most solo Unity board-game projects stop at local hotseat play. I wanted to ship the harder part: a real lobby and netcode-synced match state.

Solution

A clean separation between board logic, AI, and network layers means the same board/win-detection code runs identically whether the match is local or online.

Architecture highlights

  • Board/win-detection logic fully decoupled from input and rendering
  • Netcode for GameObjects + Unity Relay for NAT-free online play
  • Lobby flow for hosting/joining online matches
  • Local AI opponent for single-player matches