All projects

Multiplayer browser games, after hours

Ideis Arcade

A game hub for my year: sign in with the same account as the timetable, join a room with a code and play right in the browser.

Role
Design and code, solo. I collect ideas for changes from players in my year.
Stack
  • TypeScript
  • Vite
  • Cloudflare Workers
  • Durable Objects
  • WebSocket
  • Next.js
Live
Demo bez kontaideis-arcade.vercel.app

Problem

My year wanted to play together without installing anything, on phones and computers, with the same identity as in Plan IDEIS.

What I built

  • Ideis Strike: top-down shooter with T and CT teams, a shop, the bomb, grenades and bots on a map with height levels.
  • Ideis Ball: football from 1v1 to 7v7, a charged kick and cosmetics for match wins.
  • Rooms joined with a five-character code from an alphabet without easily confused characters.
  • One account for the hub and every game.

By the numbers

simulation loop, the same on client and server
60 Hz
tests across two games
310
hub end-to-end tests
38/38

Decisions that mattered

One physics for client and server

The simulation code sits in a shared folder. The client predicts its own movement and reconciles it by input sequence numbers, and interpolates the rest of the world from a buffer. The same files can be tested in Node without a browser.

Tests checked with mutations

A script deliberately breaks the height-based visibility calculation in 12 ways. The tests catch all 12, so I know they actually guard something.

Balance from simulation

A round simulation showed the T team winning about 90% of 3v3 rounds on the Desert map. Instead of guessing, the numbers went into tuning the map.