Projects

Word Battle Game

Multiplayer word game with Firebase Realtime Database. 4 language support, room system, iOS/Android and Web Audio API sound effects.

JavaScriptFirebase Realtime DBCapacitorWeb Audio APIiOSAndroid

Wordzop is a real-time multiplayer word game where players compete to produce more and longer words than their opponent within a set time limit. Playable from both a web browser and iOS and Android devices, Wordzop offers a competitive environment open to international users with four language support. This individual project was developed to test the limits — both technical and from a user experience perspective — of using Firebase’s real-time capabilities in entertainment applications.

Problem

Despite a crowded mobile gaming market, it was still difficult to find a game with Turkish language support that was truly played simultaneously and where players could engage in a word battle with friends or strangers. The vast majority of existing word games were either single-player oriented or worked in an “asynchronous” structure: your opponent’s move arrived on your device minutes later. Creating the genuine feeling of real-time competition on a browser presented an additional challenge; obtaining quality sound effects on the web without a native audio library was problematic.

Solution

The Firebase Realtime Database forms the real-time backbone of the game. When two players meet in a room at the same time, every move is relayed to the other side within milliseconds; the shared game state is updated consistently on both screens. Capacitor was chosen for cross-platform distribution: iOS, Android, and web applications were produced from a single JavaScript codebase. For sound effects on the web, Web Audio API was preferred over using an external library; this way the same audio quality as the native app was achieved in the browser as well.

Key Features

  • Firebase Realtime Database: Every move is delivered within milliseconds; a consistent game state for two players is managed centrally through the server
  • 4 Language Support: Turkish, English, German, and Spanish word databases; each language operates independently with its own dedicated word list
  • Room System: Create a private room with friends by sharing a code, or find a random opponent through automatic matchmaking
  • Web Audio API: Instant sound effects for correct word, wrong move, and time expiration directly in the browser; no additional library dependency
  • Capacitor Cross-Platform: iOS, Android, and web output from a single codebase; no separate development cycle needed for three platforms

Technical Infrastructure

Firebase Realtime Database, with its WebSocket-based connection, enables two players to work simultaneously on the same data tree; it was a natural choice for this scenario where a traditional request-response model would be inadequate. Capacitor allows web developers to leverage native features while enabling the same JavaScript code to run on iOS, Android, and in the browser. The decision to prefer Web Audio API represents a critical choice in terms of providing fully timed audio feedback without loading an additional audio library; this detail brought the browser experience to the same level as the mobile app.

Results

Wordzop became a reference point proving in practice how Firebase’s real-time architecture works in low-latency multiplayer game scenarios. Thanks to the Capacitor integration, publishing to three platforms was accomplished in a single development cycle; this approach significantly reduced development time and maintenance cost. The multilingual word database structure made adding a new language to the game as easy as adding a new dataset.