Skip to content

← All work

Browser game

Soccer Deal

A football manager that runs entirely in the browser, where every signing is a negotiation with AI.

Soccer Deal cover, with the crest and a stadium at night

The challenge

In the classics of the genre, signing a player was a form: a number, accepted or rejected. The idea was to turn it into a conversation with club presidents who haggle and remember you, without letting the AI decide price or results, and without high server costs.

What was built

  • Full season: Brazilian Série A and B, state leagues, Copa do Brasil, Libertadores and Sudamericana
  • Negotiations and press conferences powered by AI, with prewritten lines when the AI is unavailable
  • Live match with its own engine, able to explain any result
  • Passwordless account via e-mail link, and cloud saves
  • Sound effects, narration, an opening video and match illustrations

Decisions that mattered

01

AI talks, rules decide

The code computes each negotiation's limits, the AI answers in a fixed, schema-validated format, and the game checks everything before applying it.

02

The game runs in the browser

Calendar, squad, finances and matches live in the browser. The server only handles AI, accounts and saves, which keeps costs close to zero.

03

AI cost with guardrails

Before each call, the server reserves the message's maximum cost. There are limits per invite, per address and a daily cap for the whole site.

Technology

  • JavaScript modules
  • Eleventy
  • PHP and MySQL
  • Claude API
  • ElevenLabs

More work

Want a website built with this care?

Tell me what you need. I reply within 24 hours.

Get a quote