DipzSpell
◂ ALL POSTS
· 1 MIN READ · #web · #design

Turning my portfolio into a game

Most portfolios are a list: about, projects, contact. People skim it in thirty seconds. Mine already looked like a pixel game, so this month I made it behave like one.

Achievements

There are now achievements hidden around the site: switching the theme, opening the code screen, reading a case study, scrolling to the very end. A counter sits in the corner and a small toast pops up when you unlock one. A few are secret.

The point is not the trophies. It is that every achievement points at something I actually want people to see, so curiosity walks them through the work.

A terminal

Press / anywhere and a retro terminal opens. ls lists projects, open pathfinder opens a case study, cd contact scrolls you there. There is exactly one sudo command that works, and it involves hiring.

It is a small file: a table of commands, each one a function that prints lines or clicks something already on the page.

An arcade leaderboard

The platformer on the middle screen now asks for three initials when you make the top 10. For now the board lives in your browser, but every call returns a Promise, so swapping in a shared backend later will not touch the game code.

What I learned

  • Small, honest rewards beat flashy ones.
  • Build features so the next step is easy: the leaderboard is ready to go online.
  • Test the boring cases. The terminal's prompt vanished at first because its CSS class was already used by the cursor trail.