Home Projects About
← Back to Home

Twenty-five years ago, I wrote my first “real” program—a Java Applet version of the classic Lines game. It was the late ’90s/early 2000s, and Java Applets were the way to add interactivity to web pages. I remember the thrill of seeing those colorful balls appear in a browser window, the satisfaction of implementing the line-matching logic, and the pride of having built something playable.

Fast forward to 2025, and I decided to recreate that game. But this time, with a twist: I’m building it with AI assistance.

The Old World vs. The New

Back then, development was a different beast:

Today’s web is remarkably different:

But the biggest difference? How I’m building it.

Building with an AI Agent

This time around, I’m not coding alone. I’m working alongside Google Antigravity, an agentic AI that doesn’t just autocomplete my code—it plans, implements, and verifies entire features.

Here’s what we’ve built so far for the Gamma Project:

  1. Grid rendering - A clean 9×9 grid using HTML5 Canvas
  2. Ball placement - Random spawning of colorful balls (red, green, blue, yellow, cyan, magenta, orange)
  3. Game initialization - 3 balls appear on load, 3 more spawn after each action
  4. Game Over detection - When the board fills up, a dark overlay appears
  5. Restart functionality - A “Start new” button to reset and play again

The workflow is fascinating. I describe what I want, the agent creates an implementation plan, I review it, and then it executes—writing the code, testing it in a browser, debugging issues, and documenting the changes. What would have taken me hours (or days, given how rusty my game dev skills are) happens in minutes.

For example, when I asked to add a restart button, the agent:

It even caught its own bug! When the overlay wasn’t displaying correctly after adding the button, it noticed, diagnosed the missing CSS properties, and fixed them immediately.

What’s Next?

The core mechanics are in place, but we’re not done yet. The real Lines game needs:

These are the features that made Lines addictive back in the day. And just like before, implementing them will be a journey of logic puzzles and algorithms—except this time, I have an AI partner to help me think through the solutions.

Reflections

There’s something poetic about recreating a project from 25 years ago. The game is the same, but everything around it has changed. The tools are better. The platform is better. And the way we build software is fundamentally different.

But the joy of creation? That hasn’t changed at all.

If you’re curious, you can play with the current version here. It’s not finished, but it’s already playable—and it’s only going to get better.

Here’s to the next 25 years of building things. 🎮

← Back to Home