[KongchangAI]
· 3 min read· 1,640 words

AI Built a Self-Running Sports League: 38 Years of History, Live Every Night

AI Built a Self-Running Sports League: 38 Years of History, Live Every Night

A product designer spent five months building Fock Ball, a physics-simulated fictional sports league, using Claude only for content generation.

Fock Ball is a completely fictional sports league built from scratch in five months by a product designer using Claude Code. It has 30 teams, 38 years of simulated history, a nightly 3D broadcast, and an automated newsroom and social media presence. The games themselves are driven by physics simulation; AI doesn't make in-game decisions and only generates commentary, news, and social content. The project is about 140,000 lines of code on the $100-per-month Claude Max plan, and its 38-year history includes 8,513 games finalized after five simulator runs. Daily games are simulated using real weather forecasts, commentary is synthesized on a Mac mini with the open-source speech model Kokoro, and highlights are automatically posted to multiple social platforms. The broadcast uses a database locking mechanism to ensure viewers can't learn results in advance.

Fock Ball simulated sports league

A product designer spent five months building a completely fictional sports league from scratch with Claude—Fock Ball. It has 30 teams, 38 years of simulated history, a nightly 3D broadcast, and a fully automated newsroom and social media presence. What's most unusual: no AI is involved in the games themselves. Everything is driven by physics simulation, and Claude only produces content around the games.

From a Shelved Podcast Idea to a Physics Engine

Fock Ball began as a podcast concept that never got off the ground a few years ago. The author and a friend recorded an hour-long episode discussing a sport that doesn't exist, but manually maintaining rosters, game results, and trade records was too tedious, and the project was shelved. It wasn't until he started using Claude Code that he realized the idea finally had a viable path forward.

The game engine was the most time-consuming part of the project, and it was torn down and rebuilt several times. The first version simply rolled dice for players and generated stat tables—nothing to watch. The second version simulated games in turn order and logged events, with stat tables accumulated from the logs, ensuring statistics and narrative stayed consistent—but the presentation was just dots on a field. The third version tried to animate pre-written game sequences, but players teleported randomly and the ball's trajectory curved; weeks of patches couldn't fix it. This led the author to a key realization: if there's no real motion underneath, you can't fake realism with animation.

The final version treats the field as a real space, with precise coordinates for players and the ball, and the simulation advancing 20 times per second. Each player must make a decision at every step—run a route, cover a man, or go for the ball—and ability ratings determine their running speed, turning, passing, and catching. Once the ball leaves a hand, it flies under the influence of gravity and wind; a catch happens when the ball actually reaches someone's hands, and a tackle happens when a defender actually makes contact. A single game generates about 30,000 snapshots (2MB of data), with no shortcuts.

Physics-driven simulation: This means the course of a game is determined entirely by a physics-based computational model, not by pre-written scripts or random numbers. In Fock Ball, the field is modeled as a two-dimensional space, with players and the ball having precise coordinates, and the simulation advancing at 20 times per second. Each player makes real-time decisions based on ability ratings (such as speed, turning, and passing accuracy), the ball's motion is affected by physical quantities like gravity and wind, and catches and tackles occur only when there is actual spatial contact. This design ensures the unpredictability of game outcomes and the self-consistency of statistics, avoiding the common pitfall of animation faking realism.

Game Day Experience: From Weather Forecasts to Commentators

Each team has its own venue and brand identity, with logos generated by Google's Nano Banana and color schemes carried through jerseys, venues, and the website. Outdoor games use real weather forecasts pulled that day from the National Weather Service (and MET Norway for Canadian venues)—if it's raining locally, it rains in the game.

The broadcast package includes an animated intro, pre-game countdown, halftime, and closing segments. The lines for the two commentators, Dale and Tank, are written by Claude based on game logs, then synthesized for free on a Mac mini using the open-source speech model Kokoro. When a name is mispronounced, the correction is added to a pronunciation list and verified by listening back through speech recognition. Beneath the commentary booth, crowd noise and a stadium organ are layered in—the organ's timbre is entirely synthesized in code, with the author and Claude collaborating on 12 original melodies that can stretch or shrink to match actual game length, and that sound different in indoor domes versus open-air stadiums.

Player Generation and League History

Players are generated "body-first": height, weight, and build are randomly determined first, then 19 ratings from 0 to 99 are generated, including arm strength, accuracy, catching feel, speed, tackling, sand ability, and endurance. Role determines the overall shape of the ratings, while physical attributes drive the physical ratings—heavier players are stronger but slower, and taller players are more likely to win jump balls. About 1 in 20 players is elite in some area, and about 1 in 200 is a generational talent who excels in two at once. Each player also has a hidden drive rating that no one can see, yet it determines who blooms late and who wastes their talent.

The league's history wasn't written by hand—it was "played." The author set only the broad framework: the league started in 1988 with four beach clubs, became an official league in 1993, and reached 30 teams in 2011 after four rounds of expansion; it shut down for three years after the 2008 financial crisis and for another three years after COVID. After that, the simulator took over, running every season from 1988 to 2025 using exactly the same code that runs the league today—schedules, every game, playoffs, drafts, free agency, trades, retirements, and the Hall of Fame. A full run takes about five hours, and the author read the results like a fan, adjusted rules, and ran it again, until the fifth run was finalized: 8,513 games, about 2,360 players, coaches, and owners, and 45 Hall of Famers. Santa Cruz became a dynasty, winning four titles in five years; Fargo never made the playoffs; Anchorage, one of the worst teams in league history, made the playoffs twice in 15 seasons and won a championship once.

Roles and physical attributes: In player generation, role (such as quarterback, running back, or defensive line) determines the overall distribution shape of ability ratings, while physical attributes (height, weight, build) drive specific ratings through physical rules. For example, heavier players receive higher strength ratings but lower speed ratings, and taller players have an advantage in jump-ball contests. This "body-first" generation approach ensures consistency between player attributes and the physics simulation, closely tying each player's on-field performance to their physical characteristics and enhancing the realism of the simulation.

Newsroom and Social Automation

Five reporters cover the league, each with their own beat and voice: Monday recaps, Friday power rankings, game reports the day after big matchups, next-week previews, and a police blotter dedicated to troublemakers. The social feed runs all week, with reporters and players commenting on games and league drama. Claude writes all of this content, but is given only the facts recorded by the simulator, so it cannot invent scores or stats; code fact-checks every piece, and anything that doesn't match is discarded.

After each game, highlights of the best plays go live automatically: code selects the plays, directs the camera work like a camera crew, and writes the copy. The best one each day is edited into a mobile format and scheduled via Buffer's API to TikTok, Instagram, and YouTube, timed to when each platform's audience is most active.

Fact-checking mechanism: When Claude generates news content, it is provided only with structured facts recorded by the simulator (such as scores, player stats, and event timelines), rather than free rein to create. Code compares each generated piece against the fact database, and any inconsistent score, stat, or event is flagged and discarded. This mechanism prevents AI from fabricating information, ensuring the accuracy of news and social content while preserving the flexibility of language generation.

A Self-Running Schedule

The league has 15 games a week, played one at a time with no overlap: one game each night Monday through Wednesday, two each on Thursday and Friday, and four each on Saturday and Sunday, with the best matchups in prime time. Every morning, a Mac mini simulates the day's games according to each city's real weather forecast, writes and voices the commentary, and then locks everything down—the database won't reveal scores, stats, or any single play to anyone before the game airs. One hour before kickoff, the homepage and game pages switch to a countdown; the broadcast starts about 90 seconds early to ensure the first whistle lands right on time. Viewers can pause or rewind, but can never get ahead of the live broadcast—scores, play-by-play, and stats show only what has already happened. After the final whistle, scores and standings update, and highlights are published 15 minutes later. Trades, signings, articles, and posts all go out automatically on their own schedules.

Database locking mechanism: Before a game airs, the database does not expose scores, statistics, or game events to any frontend or API. All related data is locked after simulation is complete and released gradually only after the broadcast begins. This ensures viewers cannot learn results in advance, simulating the suspense of a real sports broadcast. Locking is implemented through database permission controls and scheduled tasks, ensuring data is visible only to specific interfaces at predetermined times.

Scale and Future Plans

The entire project is about 140,000 lines of code and more than 1,200 commits, completed in under five months on the $100-per-month Claude Max plan. The 8,500-plus games across 38 years of history—every game, every stat, every contract, and every trade—are stored in a database of about 120MB. This season the commentators have already called 76 games, with over 60,000 lines of dialogue and about 42 hours of audio, all synthesized on a single Mac mini.

The author says launch day is just the starting point. Next up are plans to improve broadcast fidelity, add between-play content, refine animation, expand social media content, and even make merchandise for teams that don't exist—and maybe revive that podcast that never launched.

Everything is at fockball.com, games are played every night, highlights are posted on TikTok, Instagram, and YouTube, and the discussion forum is at r/fockball.

#Fock Ball#AI sports league#physics simulation#Claude Code#automated sports broadcast#fictional sports league
Share:

Related articles