It's becoming f*cking insane that 22 AI agents can play an entire football match, making their own decisions, passing into space, defending the box, and chasing a winning goal while the game unfolds live on screen
Forget AI agents that just write code and answer questions
Imagine Liverpool vs Real Madrid, except every player operates as an independent decision-making system instead of following a predetermined animation
The simulation shows Liverpool breaking through Madrid's defense and finishing the match 1–0
But the interesting part isn't the final score
It's the idea of 22 independent agents making decisions inside one shared environment, where a single pass can change what every other player does next
A defender tracks the nearest threat, a midfielder searches for open space, and a striker decides whether to shoot or wait for support
Meanwhile, the simulation handles possession, movement, collisions, and tactical positioning
You aren't programming every pass or goal individually
You're programming the rules that allow a match to unfold
Want to build something similar with Claude Code?
Open a new project and paste:
"Build an interactive 11v11 football simulation using Three.js and TypeScript
Create 22 autonomous player agents with independent decision-making logic, tactical roles, movement speeds, and awareness of nearby players
Implement passing, shooting, pressing, interceptions, goalkeeper behavior, and ball physics
Make each player react to the changing match state rather than following scripted movements
Create a cinematic 3D football stadium with Liverpool and Real Madrid inspired teams, live scoreboard, match timer, and instant replays
Add a debug mode that reveals what each agent is currently trying to do
Keep the physics engine, agent logic, and rendering system separate so I can experiment with different AI strategies"
Start with rule-based agents, then experiment with learned policies once the simulation works
The real breakthrough isn't teaching AI to play football
It's creating an environment where 22 independent decision-making systems can produce an entire match without scripting the outcome
Bookmark this prompt before building your own AI football simulation
来源:Lummox · x.com