I built a 90-second football manager game (Next.js, no backend)
I wanted a football game that takes 90 seconds, needs no sign-up, and feels like the worst minute of a manager's week. So I built The Manager's Dilemma. Play it: https://managers-dilemma.vercel.app Code: https://github.
I wanted a football game that takes 90 seconds, needs no sign-up, and feels like the worst minute of a manager's week. So I built The Manager's Dilemma.
Play it: https://managers-dilemma.vercel.app
Code: https://github.com/elkhamyyali/managers-dilemma
The idea
It's the 70th minute. 0-0. Your star is sulking and the crowd wants blood. You get 15 seconds to choose. Six calls per match, 90 seconds total.
Every choice moves three meters: Fans, Board and Squad. Any meter that hits zero and you're sacked. The popular option usually costs you the dressing room, so there is no free answer.
How it's built
- Next.js 14 (App Router), plain CSS, no database, no trackers
- Scenarios live in one JSON file (51 right now). Each has three options with an outcome text and an effect on the three meters
- Daily match: the six scenarios are picked with a seeded shuffle from the date, so everyone gets the same match each day. A small seeded PRNG (mulberry32) does the job, no backend needed
- Streak and best score are stored in localStorage
-
Share card: the result screen draws a 1080x1080 PNG on a canvas and passes it to the Web Share API. There is also a
/rpage with a dynamic preview image made by an edge route usingnext/og - Hosted free on Vercel
What I learned
- A timer changes the game. With no clock you overthink. With 15 seconds you go with your gut, which is what a touchline decision feels like.
- Shuffling the option order per scenario matters. Otherwise players learn that "option 2 is the safe one" and stop reading.
- A daily seed is a cheap way to get people to compare scores without any server.
What's next
More scenarios, a weekly "special" match, and possibly a short-form series of the toughest calls.
The scenarios are all original and fictional. No club names, badges or player photos.
Disclosure: this post and parts of the code were written with AI assistance.
If you get over 200 out of 300, tell me your manager style in the comments.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.