A fun, interactive penalty shootout game written in Python.
You can play as either:
- ๐งค Keeper โ try to save 5 shots
- โฝ Striker โ try to score 5 goals
Created by Habib (The Ghost Analyst).
- Run the game in your Python environment:
python penalty_simulator.py
2. **Choose your role**:
* `1` โ Keeper Mode
* `2` โ Striker Mode
3. **Make your moves** by typing one of the four directions:
```
up, down, left, right
```
4. First to **5 points** wins the game!
---
## ๐ Features
* Randomized directions for keeper/striker
* Fun, dynamic commentary for every goal/save
* Input validation for directions
* Win condition system (first to 5 points)
* Designed for beginner-friendly Python practice
---
## ๐ Requirements
* **Python 3.x**
* Works in any terminal or IDE
* No external libraries required (uses `random` and `time` from Python's standard library)
---
## ๐ How It Works
* **Random direction** is generated for either the keeper or the striker.
* Player guesses/shoots by entering a direction.
* If the guess matches (Keeper Mode) or differs (Striker Mode), a point is awarded.
* Commentary is chosen randomly from predefined lists.
---
## ๐ท Example Gameplay
```
Welcome to Python Penalty Simulator - CyberSage V1.0 โฝ
๐ง Created by Habib (The Ghost Analyst)
Choose your role:
1. ๐งค Keeper Mode (Save the shot)
2. โฝ Striker Mode (Score the goal)
Enter 1 or 2: 2
โฝ Striker Mode Activated!
Score 5 goals to win!
Which direction do you shoot? ('up', 'down', 'left', 'right'): up
GOAAALLL!! โฝ๐ฅ
Keeper had no chance! โฝ๐ฅ
Score: 1/5
```
---
## ๐ License
This project is free to use for personal and educational purposes.