Football Bros Github
⚽ Football Bros: The GitHub Game That’s Pure Chaos (and Pure Gold) You’ve played FIFA. You’ve tolerated eFootball. But have you experienced the absolute mayhem of Football Bros ? This isn’t your sim-style, 22-player chess match. This is arcade, 2v2 (or 1v1), pixel-art, “did he just bicycle-kick the keeper?” football. And the best part? It’s open source on GitHub. Let’s dive into why this repo is a hidden gem. 🕹️ What Is Football Bros? Imagine Sensible Soccer had a baby with Street Fighter .
2v2 online/offline brawls No fouls (slide tackle your best friend into next week) Power-ups like speed burst, giant ball, or “wind gust” Tiny pitch, massive chaos – games last ~3 minutes
It’s built in HTML5 / JavaScript (often with Phaser or Canvas), so you can run it in a browser – no console required. 📦 Where to Find It on GitHub Search: football bros github → Look for repos by:
@msarvar (popular web version) @davidetacchini (Football Bros – Classic) Or simply filter by Stars > 100 football bros github
🔗 Example: github.com/msarvar/football-bros – clone it, open index.html , and you’re playing in 10 seconds.
🧠 Why This Repo Is Interesting (Not Just Another Game Clone) 1. The code is tiny but smart Most versions are under 2k lines. You can understand the whole collision system, input handling, and AI in an afternoon. 2. It teaches real game dev concepts:
State management (kickoff, goal reset, power-up timers) Simple AI – enemy players just chase ball + nearest opponent Pixel-perfect collisions – ball hits foot? Goal. Ball hits face? Even better. ⚽ Football Bros: The GitHub Game That’s Pure
3. Active forks with wild mods Check the “forks” tab. You’ll find:
Rocket League Bros (cars instead of players) Battle Royale Bros (6 players, shrinking pitch) Slime Football (players are bouncy blobs)
🛠️ How to Play (and Mess With the Code) Quick start: git clone https://github.com/msarvar/football-bros cd football-bros open index.html # or use Live Server in VS Code This isn’t your sim-style, 22-player chess match
Controls: WASD / Arrows + Z/X or J/K for kicks and specials. Coolest hack: Change player speed Open game.js , search for playerSpeed . Change 5 → 15 . Now you’re The Flash on grass. (Don’t blame me when you slide off the pitch.) Add a new power-up Find powerups.js – copy an existing one, rename it, change the effect. Make a “banana peel” that spins the ball. Make a “magnet” that pulls the ball toward you. Break things. It’s GitHub – you can always revert. 🏆 The “Football Bros” Challenge (for devs) Try these in order of difficulty:
Add a score limit (first to 5 wins, not infinite) Add a slow-motion replay after goals Make keepers punch instead of catch (chaos multiplier) Port the game to React (good luck with the game loop)