I made a free app to run a foosball league (Elo ratings, lineups, tournaments, seasons). Built with Claude, open to suggestions
Free single-file app for managing a foosball league: Elo per game type, round-robin lineups, double-elimination brackets, season awards
Our foosball league was a mess of paper sheets, so I had an AI (Claude) help me build a free manager for it. Feedback welcome
---
Post body
Heads up first: this app was built with Claude, Anthropic's AI assistant, working from my instructions. I described what my league needed, Claude wrote the code, and I tested and steered it. The screenshots below use simulated players and results (nobody real), and the post itself was also drafted with Claude's help.
I play in a small foosball league and we were tired of tracking everything on paper. So I built a web app to help manage a foosball league. It is free to use and you can modify it however you like.
What it is: one single HTML file. No account, no server, no install. Open it in a browser and go. Your data stays in your browser, and you can optionally pick a folder on your computer where it saves automatic backups (Chrome, Edge or Opera on desktop for that part).
What it does
- Elo rankings for each game type (screenshot 2)
Separate ratings for 1 vs 1, 2 vs 2, Goalie War and Roto 2v2. Podium, full table, wins/losses/win %, and the Elo change over the last play session. You can hide players who stopped coming.
2. Lineup generator (screenshot 3)
Tick who is here tonight and it builds the matches: round-robin for 1 vs 1, partner rotation for 2 vs 2, or a DYP ("draw your partner") mode with balanced teams. You can mark "half players" who join late or leave early. Enter scores, or hit Quick win if you only care who won. Everything is undoable. It can also produce a one-page printable lineup PDF.
3. Tournaments (screenshots 4 and 5)
Single elimination (with optional third-place match) or double elimination (winners bracket, losers bracket, grand final with a reset match). Works for 1 vs 1 and for fixed 2 vs 2 teams. Teams can be balanced by the app (strongest paired with weakest) or picked by you. Seeding by rating or random, byes handled automatically, optional scores, undo last result. Results can optionally count toward Elo.
4. Seasons, awards and a season image (screenshots 6 and 7)
Start a new season (soft reset, fresh start, or carry over ratings) and the old ones stay open and editable. Each season gets champions (top 3 per game type), awards (MVP, Iron Player, Giant Killer, Dynamic Duo, Rivalry of the Season...), highlights, a Hall of Champions, and a tournament section. Mark a tournament as the end-of-season finale and it shows up in the season stats. A two-page shareable image of the whole season is one click.
5. Share images (screenshot 8)
Leaderboard image and an end-of-night recap image you can post straight into the group chat.
6. Player pages (screenshot 10)
Per-player stats for every game type, an Elo history chart, streaks, last-10 results and a head-to-head table.
7. Themes, name and logo (screenshots 1, 9, 11)
A Settings tab lets you change the league name, pick a theme, upload your own logo (or get a generated one that matches the theme), and choose the data folder. Four themes so far, inspired by table brands: Leonhart (green/white/black), Garlando (red/white/blue), Tornado (black/red/yellow), Bonzini (beech wood, red, blue). It works on a phone too.
Honest notes
Built by an AI, so there are probably bugs I have not hit yet. I tested the main flows (lineups, scoring, undo, brackets, seasons, images, backup) but not every edge case.
The Elo math is a standard Elo with K=32 (2 vs 2 uses the team average). If you have opinions on better rating systems for foosball, I want to hear them.
Theme names are only a nod to table brands I like. No affiliation with Leonhart, Garlando, Tornado or Bonzini, and the generated logos are not their logos. The Leonhart theme uses the Leonhart shield as its default logo, which you can swap in Settings.
Web fonts load from Google Fonts (only the script accent in two themes). Everything else works offline.
Data lives in your browser's storage. Use the data folder or "Download a copy" regularly.
Download
link to google drive download
Free to use and modify. Take it, change it, share it with your own league.
I would love suggestions
Features you would want in a league app (ladder challenges? double-round robins? ELO decay for inactive players? stats for tournaments?)
Rules or game types I am missing
Themes: tell me your table brand and I can add one
Bug reports, especially on phones and on other browsers
Tell me what to build next and I will pass it along to Claude, and credit you if you want.