Loading portfolio
Prem Sai KotaSoftware Engineer
Projects
11 / 11
2025·Retro web game suite·View Website

PS Arcade

A collection of 10 browser-based mini-games built with vanilla JavaScript, exploring canvas physics, Web Audio synthesis, and responsive arcade interfaces.

JavaScript
HTML5
CSS
Web Audio API

Where It All Started

Every developer has a project where coding stops being an abstract academic exercise and turns into something genuinely exciting. For me, that project was PS Arcade. In January 2025, I opened a blank code editor and built a single Rock-Paper-Scissors button in vanilla JavaScript. There was no framework, no build system, and no package manager—just plain HTML, CSS, and a few functions manipulating the DOM. Watching the browser evaluate user choices against randomized logic and update the screen was the moment software engineering truly clicked for me. That simple script became the seed for everything I built afterward.

Ten Games, One DOM at a Time

That initial experiment quickly turned into an ongoing sandbox. Over the following months and nearly 400 commits, I continued building new games whenever I wanted to understand a new browser API or programming concept. Guess My Number taught me binary search bounds. Whack-a-Mole and Cookie Clicker taught me interval timing and event throttling. Tic-Tac-Toe taught me two-dimensional grid validation and win-condition checks. As I tackled Snake, Block Stacker, and Neon Space Dodger, I progressed from standard DOM elements to HTML5 Canvas contexts, 60 FPS requestAnimationFrame game loops, and vector-based collision mathematics.

Synthesizing Audio with Web Audio API

Rather than loading external audio files that add bandwidth overhead and latency, I wanted to generate retro arcade sound effects natively in code. I researched the browser's Web Audio API and built programmatic sound synthesizers directly into the arcade modules. I created frequency sweeps for user clicks, harmonic chime sweeps for successful block placements, low-frequency buzzers for Simon Says sequence mistakes, and white-noise explosion bursts for Space Dodger collisions. Generating audio oscillators on the fly taught me how digital audio processing operates directly on the client.

What PS Arcade Still Means to Me

In an ecosystem dominated by complex frameworks, meta-frameworks, and automated code generation, PS Arcade remains a project I look back on with genuine pride. Building ten distinct web games from scratch taught me how the JavaScript runtime actually behaves—how event listeners propagate, how browsers schedule animation frames, and how state persists across localStorage. It is simple, approachable, and completely unpretentious. Most importantly, it is the foundation that gave me the curiosity and confidence to build every complex distributed system that followed.