1 min read

How an Asteroids ๐Ÿš€ Game Ended Up as My Welcome at Yanez.Life [en]

How an Asteroids ๐Ÿš€ Game Ended Up as My Welcome at Yanez.Life [en]

Over the past few days, Iโ€™ve been thinking about what to do with the main domain, yanez.life.
At first, I wanted something simple: a basic welcome message, maybe a few quick links...
But as I took a little break to think it over, I started drifting through different ideas.

And as often happens, my mind wandered back to a childhood memory:
those afternoons spent playing Asteroids on the Atari. ๐Ÿš€

I've always had a soft spot for classic video games.
So I asked myself:

Self, why not create something that reconnects with those good old moments?

With that idea in mind, I decided to build a lightweight version of the classic Asteroids game, using modern web technologies:
HTML5 + Canvas + JavaScript.

It became a small personal project, crafted with care, combining the game with a short welcoming message.
Nothing too complex: just a spaceship, some hand-drawn asteroids, basic shooting, simple explosions...
and a lot of nostalgia.

I also added a few small touches:

  • The background switches automatically based on the browserโ€™s light/dark mode.
  • If you don't move the ship at the start, you're invulnerable (a little courtesy nod).
  • A countdown and automatic restart system when you lose all your lives.

Now, every time I visit yanez.life, instead of seeing a static page,
I feel like Iโ€™m stepping back a little into that time when everything was as simple as dodging an asteroid.

Maybe I'll add more features in the future...
but for now, Iโ€™m happy that the first thing welcoming you to my little corner of the internet is something that truly reflects who I am.


๐Ÿš€ Technologies used:

  • HTML5
  • CSS3
  • JavaScript (Canvas API)
  • Simple retro sounds
  • Nginx + Traefik (to serve the site)