Brody Reid


Solitaire

Brody Reid —

Screenshot of Solitaire site

I wanted to build a game to show off React skills and Solitaire felt like the right amount of complexity (plus I’m obsessed). So I built my very own Solitaire with React, TypeScript, and Tailwind CSS.

I used React Context and custom hooks for the state management. It has click-based card interactions, undo with “Z”, win detection and scoring, and high scores saved in local storage. I also added a deck-integrity check that makes sure that there are no duplicate-card issues during a game.

It has a dark mode and works on mobile too.

♠️ ♦️ ♣️ ♥️