Production work

Duel X — Solo PUN2 Multiplayer Game for WebGL

A small 2–4 player turn-based math/board game, developed solo: gameplay, UI, AI, multiplayer, player accounts, and analytics.

Project role
Solo developer
Players
2–4, turn-based
Platform
WebGL (cross-client tested with Android)
Technology
Unity, Photon PUN2, PlayFab, Firebase

Solo-developed a 2–4 player WebGL math strategy game using Unity and Photon PUN2, implementing gameplay, AI, random matchmaking, turn synchronization, shared board state, PlayFab progression, and Firebase analytics/crash reporting.

  • PUN2
  • Solo Development
  • WebGL
  • PlayFab
Summary

A small multiplayer game, built end to end

Solo-developed a small 2–4 player turn-based math/board game, covering gameplay, UI, AI, multiplayer, player accounts, and analytics.

Ownership

My responsibility

I was the sole developer, so the gameplay, UI, AI, multiplayer, accounts, and analytics integration were all mine.

Everything (solo)

  • Gameplay and UI
  • AI opponent/fill behavior
  • Photon PUN2 multiplayer
  • PlayFab accounts/progression
  • Firebase Analytics / Crashlytics integration
Multiplayer

Multiplayer model

Duel X uses Photon PUN2 with random matchmaking and Master Client coordination. Turns, timers, and game state are synchronized through RPCs and PhotonViews, and the shared board data is reconstructed locally on each client.

Conceptual multiplayer flow
  1. Random matchmaking
  2. Master Client coordination
  3. RPC / PhotonView syncturns, timers, lives, score
  4. Shared board reconstructed locally

Evidence-backed work

  • Photon PUN2
  • Random matchmaking
  • Master Client coordination
  • RPC / PhotonView synchronization
  • Turn state and timers
  • Shared board data reconstructed locally
  • Player lives/score/game state
  • AI opponent/fill behavior
  • PlayFab accounts/progression
  • Firebase Analytics / Crashlytics
Testing

Cross-client testing

  • WebGL and Android cross-client testing
  • Latency testing up to approximately 200 ms
Honest limitations

What this project does not demonstrate

  • No robust reconnect/rejoin/state restoration
  • Client-host/shared PUN2 architecture rather than dedicated authoritative server architecture
  • No demonstrated prediction/reconciliation/lag compensation
  • No anti-cheat/security architecture
Media

Media

Duel X game artwork
Duel X.