FK Duel
A competitive football trivia game in seven languages. Duel another player live across twelve modes, plus a turn-based mode — grid, career path, bidding, teammate-chain and penalties among them — with a rating per mode, challenge friends in private rooms or slower turn-based games, climb twelve Game Center leaderboards, or practise offline against bots. A daily grid, a hidden player of the day and a daily streak bring players back. Careers of more than 26,000 players come from Wikipedia and Wikidata.







One Swift package holds the rules, sessions, bots and Elo, shared by the Vapor server and the iOS app. Play is server-authoritative over WebSockets, with full state snapshots, acknowledged moves, a reconnect grace period and rating-based matchmaking that offers a computer opponent at your level when no player is found quickly. A ten-minute load test of 200 concurrent players played 2,380 matches with no rule violations and a 6 ms p99 move latency. Ratings use a tiered K-factor, and a weekly check against Wikipedia and Wikidata applies real transfers to the player data without an app release. About 500 automated tests cover the server and the shared core. The same game core compiles to WebAssembly for a browser version, shrunk from 55 MB to 13.8 MB by dropping ICU. Much of it was built with Claude, with decisions recorded for my review.