HomeSuomeksi

TietoTaistelu - AI-Powered Quiz Platform

Next.jsNext.js
Tailwind CSSTailwind CSS
FirebaseFirebase

TietoTaistelu – AI-Powered Real-Time Quiz Platform

TietoTaistelu is more than just a traditional quiz; it is a dynamic web game that leverages the latest AI technology to generate unique gaming experiences in seconds. Users can input any topic, and the application generates relevant questions live.

Key Features

  • Limitless Content: OpenAI's GPT-4o-mini model creates questions on any subject – from history and pop culture to inside jokes.
  • Real-Time Multiplayer: WebSocket-style synchronization via Firebase enables seamless gameplay with friends across different devices with zero latency.
  • Intelligent Scoring: A linear scoring model that rewards both accuracy and speed (max bonus 400p).
  • Automatic Archiving: The app builds its own "offline knowledge base" by saving AI-generated questions for future games.

Tech Stack

  • Frontend: Next.js 14, Tailwind CSS (Neon aesthetics & animations)
  • Backend: Next.js API Routes (Serverless)
  • Database: Google Firebase Firestore (Real-time data sync)
  • AI Integration: OpenAI API (GPT-4o-mini)
  • Management: Automated database maintenance (Passive Cleanup)

Images

Main Page

Main Page

Joining the session

Joining the session

Game lobby and joined players

Game lobby and joined players

Lobby view on a mobile device

Lobby view on a mobile device

Game host view

Game host view

Phone as a controller

Phone as a controller

The correct answer is shown upon answering correctly or when the timer expires.

The correct answer is shown upon answering correctly or when the timer expires.

Results screen after round completion

Results screen after round completion