I had been interested in making a random game idea generator for a while when I came across sentencer. Sentencer is an npm package that populates madlibs-style templates with random words. Using sentencer and random-color-pair, I was able to quickly throw together a React app that could generate random game ideas. The app is hosted by AWS Amplify and Route53 at randomideas.link. The project is simple to understand. First, a template is chosen randomly from a list....
Random Color Pair
Here’s a tiny little script that gives you two colors: one dark and one light. I needed an easy way to create pairs of colors that were distinct enough to be used for foreground and background colors. Right now, this package uses randomcolor to generate colors. randomcolor allows you to specify luminosity when generating colors, so I just generate one ‘light’ color and one ‘dark’ color and return the results....
Phaser React Tools
I spend a lot of time at work helping people who are new to game development. There are many excellent options for beginners who are interested in creating games, from Scratch to processing to Unity. These days, one of my favorite ways to make games is with Phaser. Phaser is easy to set up, and it has lots of great examples to work from. Phaser also has plenty of convenient features that make other game engines (looking at you, Unity) seem kind of clunky in comparison....
Pixel Art Chess Pieces
I worked as a host at a fancy restaurant for a few months right after highschool. During slow shifts, I would do chess puzzles to pass the time. The book of puzzles I had was huge. I guess I didn’t have a phone yet because I remember lugging that giant hardcover book to work on my bike every day. It was a workout. Anyway, I recently got back into chess when some of my students discovered the game for the first time through Twitch....