← All projects

Personal projectIn production

Fantasy Hockey

The app my fantasy league runs on.

Fantasy Hockey Overview for Tokyo Draft, cropped to the team banner with season points and a rank of fourth of eight, the roster check, and tonight's slate of final games with each owned player's points.
Inside the live league

In use

8 teams. 176 picks. One live season.

My league drafted on it and plays the current NHL season on it, from setting lineups to arguing over the standings.

The short version

Why I built it
My league wanted our own draft and our own scoring rules instead of squeezing into a big platform. Most of the work went into one thing: keeping the league correct when eight people act at the same time.
What it does
Snake draft, lineups and reserves, free-agent pickups, NHL-based scoring, a live Game Centre with a shot map and goal replays, and a Discord bot that takes picks and posts roster moves.
Fantasy Hockey Overview for Tokyo Draft: season points, fourth of eight, tonight's points, a roster check, tonight's slate of six final games with each owned player's points, the race against the teams either side, and pickup suggestions.
A season in progress

The Overview after the October redesign: your rank, tonight's slate with every player's points, the race against the teams either side of you, and pickups worth a look.

Screenshot viewer. Choose Actual size, then use the arrow keys or Page Up and Page Down to inspect the image.

A season in progress

Open original (opens in a new tab)Fitted to your screen.
Screenshot source & context

The Overview after the October redesign: your rank, tonight's slate with every player's points, the race against the teams either side of you, and pickups worth a look.

Draft night can't double-book a player

Every pick, from the web or from Discord, goes through one Firestore transaction. It checks that it's your turn, that you have roster space and that the player is still free, then claims the player and advances the draft together.

If two managers grab the same player at once, one gets him and the other gets a clear error. If a pick goes through but the response gets lost, the retry returns the saved pick instead of drafting twice.

Every pick takes the same path
  1. ValidateTurn, roster space, player still free
  2. CommitClaim the player and advance the draft together
  3. RecoverA repeated request returns the saved pick
Completed Fantasy Hockey snake-draft board showing eight team columns and 176 of 176 picks.
Eight teams, 176 picks

Our draft board after the draft: every team's picks, round by round, snaking back and forth.

Screenshot viewer. Choose Actual size, then use the arrow keys or Page Up and Page Down to inspect the image.

Eight teams, 176 picks

Open original (opens in a new tab)Fitted to your screen.
Screenshot source & context

Our draft board after the draft: every team's picks, round by round, snaking back and forth.

Pickups don't rewrite history

Swap a player and the change starts with the next scoring week. Points the old player already earned stay with your team, so the app keeps two rosters: who's on your team now, and who was actually scoring for you on each date.

Follow the game behind your points

Live scores, play-by-play, every goal replay and a shot map you can filter, with your own players highlighted. Live points are labelled provisional until the nightly scoring run settles them, so nobody celebrates a number that's about to change.

Fantasy Hockey Game Centre showing Winnipeg versus Detroit, an interactive rink with shot locations, and a shot-event list identifying the manager's players.
Every shot, on the ice

The Rink view maps NHL shot locations and flags the shots involving your players. Captured during a live game.

Screenshot viewer. Choose Actual size, then use the arrow keys or Page Up and Page Down to inspect the image.

Every shot, on the ice

Open original (opens in a new tab)Fitted to your screen.
Screenshot source & context

The Rink view maps NHL shot locations and flags the shots involving your players. Captured during a live game.

Checked against real numbers

I ran the scoring against an independent stats dataset. All 143 of 143 player-seasons matched the displayed score exactly, and one full team with no roster moves matched to the hundredth: 1,053.87 points.

That proves the scoring math, not every live data feed. Twelve of the thirteen scoring rules showed up in the real data; the goalie-goal rule got a synthetic test instead.

Decisions & evidence

Small decisions that matter on game night

Injuries come with a verdict

Instead of a raw injury report, each player gets a call: no move needed, consider a swap, or unknown, based on his next game and your lineup deadline. Swap opens straight from there.

Web and Discord share one rulebook

A pick made in Discord runs through the same transaction as the web app. The bot is set up for our league's server, not offered as a public integration.

The boring states are designed too

Empty, loading, pre-game and error states all have real designs, in light and dark themes with each team's identity.

League size confirmed October 2026. Screenshots are from the production app. The scoring check uses a reference dataset and is separate from live-season usage.

Let's
talk.