Skip to content
diogof146Public

About

2D penalty shootout game built with pygame.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Penalty Shootout

The game

A 2D penalty shootout game for two players, built with Python and Pygame. Players take turns shooting penalties, and the game ends when there's a winner under standard penalty shootout rules, sudden death included.

I made it as a side project in my first semester, to learn more about game development, Python and Pygame.

Features

  • Two players, each picking one of eight teams
  • Aimed shots against a goalkeeper that moves at random
  • Score tracking and real shootout rules, with sudden death
  • Textured grass and ball, and the pitch markings
  • A "SIUUUUU" sound effect when you score

Controls

Key Action
Arrow keys or WASD Aim the shot
Space Shoot
1 to 8 Pick a team (each player needs a different one)

Running it

You need Python 3.

git clone https://github.com/diogof146/fbsim.git
cd fbsim
pip install pygame
python fbsim.py

What I'd add next

  • Restarting the game without relaunching it
  • Shot power
  • Better textures

License

Free to use and modify for personal or educational purposes.

About

2D penalty shootout game built with pygame.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages