A fullscreen Python/Pygame soccer penalty shootout game with player scoring, goalkeeper movement, sound effects, and a simple game menu.
Pearland Soccer Craze is a simple fullscreen soccer penalty shootout game developed using Python and Pygame. The game allows a player to enter their name, take penalty kicks, compete against a randomly moving goalkeeper, and view the final score after five rounds.
In this game, the player takes penalty shots by choosing one of three directions:
- Left
- Center
- Right
The goalkeeper randomly chooses a direction to block the shot. If the player kicks in a different direction from the goalkeeper, the player scores a goal. If both choose the same direction, the goalkeeper saves the shot.
- Fullscreen soccer field interface
- Player name input screen
- Interactive menu with Start and Exit options
- Five-round penalty shootout gameplay
- Random goalkeeper movement
- Score tracking
- Game-over results screen
- Option to start a new player
- Sound effects for goals and saves
- Footer credit displayed in the game
- Python
- Pygame
- Random module
- Time module
Make sure the following sound files are included in the same folder as the Python script:
goal.wav
save.wav
Without these files, the game may produce an error when loading the sound effects.
First, install Pygame:
pip install pygameThen run the game:
python main.py-
Start the game from the main menu.
-
Enter the player name.
-
Use the keyboard arrow keys to kick the ball:
- Left arrow: kick left
- Down arrow: kick center
- Right arrow: kick right
-
The goalkeeper randomly jumps left, center, or right.
-
Score as many goals as possible in five rounds.
-
View your final score on the results screen.
Possible future improvements include:
- Adding difficulty levels
- Adding multiple players and leaderboard history
- Improving graphics and animations
- Adding background music
- Adding pause and restart options
- Packaging the game as an executable file
Developed by Md. Saifur Rahman (Saif)
Email: iamsaif07@gmail.com

