Street Fighter is a single-player 2D fighting game built with Python and Pygame. You control the Warrior and fight a computer-controlled Wizard in fast, one-on-one rounds. Knock the Wizard's health to zero to win the round and add a point to your score.
"Enter the arena and prove you can outfight the machine!" โ๏ธ
| Section | Quick Links |
|---|---|
| ๐ฎ | Features |
| โ๏ธ | Requirements |
| ๐ | Installation |
| ๐ฏ | How to Play |
| ๐ฆ | Downloads |
| ๐ | License |
| ๐ | Credits |
| ๐ค | Contributing |
| ๐ง | Contact |
|
|
| Feature | Description |
|---|---|
| ๐ค Computer Opponent | AI-controlled Wizard that approaches, jumps, counters and retreats |
| ๐ฑ๏ธ Main Menu | Start Game, Controls, Scores and Exit, all clickable |
| ๐ In-Game Controls Guide | Keys, rules and tips available from the menu |
| โฑ๏ธ Round Countdown | 3, 2, 1, FIGHT! before every round |
| ๐ Health Bars | Live health for you and the computer; each hit deals 10 damage |
| ๐ Scoreboard | Rounds won by you and by the computer this session |
| ๐ฌ Sprite Animations | Idle, run, jump, two attacks, hit and death for both fighters |
| ๐ต Music & Sound Effects | Background music plus sword and magic sounds |
| ๐ผ๏ธ Blurred Menu Backgrounds | OpenCV blur behind the menus |
- ๐ Python 3.7 or higher
- ๐ Libraries: listed in
requirements.txt
pygame # Game engine
numpy # Image arrays
opencv-python # Background blurStep 1: Clone the Repository
git clone https://github.com/AadityaPanda/Street_Fighter.git
cd Street_FighterStep 2: Install Dependencies
pip install -r docs/requirements.txtStep 3: Launch the Game
python src/main.py๐ฅ๏ธ The game opens borderless at your screen's full resolution. To quit, click MAIN MENU during a fight, then EXIT.
| Action | Key |
|---|---|
| โฌ ๏ธ Move Left | A |
| โก๏ธ Move Right | D |
| โฌ๏ธ Jump | W |
| โ๏ธ Attack 1 | R |
| ๐ก๏ธ Attack 2 | T |
Menus use the mouse. During a fight, click MAIN MENU (top centre) to leave the round.
+ You are the Warrior on the left, the computer is the Wizard on the right
+ Both fighters start with 100 health; every hit deals 10 damage
+ Bring the Wizard's health to zero to win the round
+ Each round won adds a point to your score (see SCORES in the menu)- Jump to dodge incoming attacks.
- The Wizard punishes careless jumps and swings, so pick your moment.
- When its health gets low it retreats, so stay on it.
โน๏ธ The prebuilt v1.1 release is the older two-player version. Run from source to play against the computer.
This project is licensed under the MIT License
Feel free to use, modify, and distribute in your projects!
| Role | Contributor |
|---|---|
| ๐ฎ Lead Developer | Aaditya Panda |
| ๐ค Computer Opponent (AI) | Prakashtiwari7415 |
| Asset Type | Source |
|---|---|
| ๐ต Background Music | Free Music Archive |
| ๐ค Fonts | Turok Font |
| ๐ญ Sprites | Custom-designed + Open-source assets |
| ๐ง Sound Effects | Royalty-free audio libraries |
Contributions are welcome! Fork the repository on GitHub, then:
git checkout -b feature/AmazingFeature
git commit -m "Add AmazingFeature"
git push origin feature/AmazingFeatureand open a Pull Request. See CONTRIBUTING.md for details.
