Game was written for Motrolla Science Cup 2022 and ended on second place. Goal of the game is to shoot all ballons, using different weapons. Some screens of the game:

- Filip Manijak
- Dawid Litwiniec
- Igor Stec
The Pang game application consists of five main modules:
- Game Module
- Lobby Module
- Pause Module
- Save and Load Module
- Ranking Module
- Levels are loaded from
.txtfiles. - Players move using the arrow keys and are restricted from Y-axis movement during gameplay.
- Objective: Destroy all the bouncing balls on the map.
- Players have four types of weapons:
- Pistol (
Q) - Laser (
W) - Bomb (
E) - Shotgun (
R)
- Pistol (
- Map elements include destructible walls, ladders (for vertical movement), spikes, artifacts, and ice.
- Pause: Press
Escto activate the pause panel.
- Accessed upon starting
pang.exe. Options include:- Random Mode: Random map based on difficulty.
- Campaign Mode: Progress through 15 levels.
- Special Levels: Access to five unique levels.
- Load Game: Resume a previously saved game.
- Rankings: View high scores for all game modes.
- Accessible via
Escduring gameplay. - Options:
- Resume (
Continue) - Save (
Save) - Exit to main lobby
- Resume (
- Contains five save slots.
- Each slot can be saved, loaded, or deleted.
- Scores are calculated based on completion time and saved if among the top 10.
- Rankings for each game mode can be viewed from the lobby.
Ball: Handles ball behavior (move())Projectile&ShotgunProjectile: Manage bullet movement (move())Player: Handles player actions and drawing graphics.Rectangle,Ladder,Spike,Artifact,Ice: Specialized map elements.Laser,Bomb: Specific weapon functionalities.Button: GUI interaction (draw(),isOver()).
- Display:
DrawHearts(),DrawAmmo(),PauseMenu(),ShowRanking() - Save/Load:
Save(),Load(),SaveLobby(),LoadLobby() - Game Mechanics:
Game(),CollisionDetection(),Victory(),Defeat() - GUI:
Lobby(),ModuleLobbyX()
- Requirements:
- Python 3.10 (recommended)
- PyGame 2.1.2 (recommended)
- Folder Structure:
- Main
.pyfile along with subfolders:GraphicsLevelsRankingsSavedGames
- Main
- Simply run
pang.exefrom the built folder. - Required folders:
GraphicsLevelsRankingsSavedGames
The game can be started in fullscreen or windowed mode, configured via settings.txt:
Fullscreen:TrueWindowed:1600x900
Enjoy playing Pang!