Payton.Codes

Musings on life, games, and code

Hi, I’m Payton!

I’m a passionate coder by day and an enthusiastic tabletop dungeon master by night.

This blog is a place for me to tell stories and share fun things I’ve made. I write about insights from my coding projects, philosophical thoughts, and tales from epic D&D campaigns. Whether you’re a fellow developer, someone looking for a one-shot game, or a good friend, I’m excited to share my knowledge and adventures with you.

Here’s some of my latest posts

  • The Witch’s Secret

    The Witch’s Secret

    Per tradition, I wrote a one-shot D&D adventure for my co-workers during our Fall meetup this year. The player characters are residents of the city…

  • Elegant error handling in Rust

    Elegant error handling in Rust

    I’m slowly becoming more proficient working in the Rust language. I’ve now made my third tool, a command-line task manager called fini, and I’m starting…

  • Using PHP property hooks wisely

    Using PHP property hooks wisely

    PHP 8.4 included a new feature for class definitions called “property hooks“. These are a way to dynamically control the behavior of property reading and…

  • Grappling vine animation

    Grappling vine animation

    When I designed my game, The Lost Card, one of the powers I had come up with was a sort of extending vine that acted…