🎮 Portfolio Quiz Game

This is a Unity WebGL quiz game built as a portfolio project, focusing on web integration, backend communication, and real-world tooling rather than just gameplay.

🧠 What’s Inside

Players answer quiz questions pulled dynamically from a backend. You can:

  • Play as a guest
  • Sign in with Google
  • Create an account
    Scores are saved and shown on a global scoreboard.

🛠️ Tech Stack (TL;DR)

  • Unity (WebGL)
  • Firebase (Auth + Database)
  • JavaScript .jslib bridge
  • React + TypeScript (Admin panel)

🔥 Technical Highlights

Unity + Firebase (WebGL)

Firebase is used for:

  • Authentication (guest, Google sign-in, account creation)
  • Fetching quiz questions from the database
  • Saving and displaying player scores

Because Firebase doesn’t provide an official SDK for Unity WebGL, I implemented a custom solution:

  • Created a .jslib JavaScript plugin
  • Bridged communication between C# (Unity) and JavaScript
  • Firebase runs on the JavaScript side while Unity communicates through the bridge

🧩 Admin Panel (External Web App)

I also built a separate admin web app to manage the game’s data:

🔗 Admin App:
https://portfolio-quiz-38edd.web.app/

Built with:

  • React
  • TypeScript
  • Firebase

Features:

  • Edit and manage quiz questions
  • View saved player scores and leaderboard data
  • Real-time updates through Firebase

🎯 Why This Project?

This project showcases:

  • Unity WebGL deployment
  • Custom C# ↔ JavaScript communication
  • Firebase authentication & database usage
  • Full-stack workflow between a game client and a web admin dashboard