My friends and I are in the middle of a brutal Dungeons and Dragons (D&D) campaign called Tomb of Annihilation. We often talk about which class we would like to play. If you're not familiar, a D&D class is like an archetype that tells you what kind of character you're going to play and what they are good at. Are we oath-bound Paladins, wandering Rangers, or perhaps cunning Rogues?
Some of us have built our characters after ourselves; others, like me, play something wildly different. The biggest contrast was a friend who's a chief of staff by day and a brutish minotaur during the game.
That got me wondering: which class would each of us actually be in real life, not just who we want to play? The question quickly turned from banter to a project.
I decided to make a personality test inspired by ones I've taken at work, or for insight, and instead of matching them to personality types, match them to character classes. I could also use this project as an excuse to learn how GitHub Pages and Actions work together to deploy a site. Three interests collided: D&D, personality insight, and coding. In this article, I'll walk you through my process.
Read before you write












