Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjektSI — Bomberman

A local two-player Bomberman-style game built with Python and Pygame. Players take turns moving on a grid, placing bombs, and destroying destructible walls until one player remains.

Features

  • Two-player hot-seat gameplay on a shared keyboard
  • Turn-based movement with alternating player turns
  • Bombs with a visible countdown timer (green, yellow, red)
  • Chain reactions when explosions hit other bombs
  • Destructible walls (gray) and indestructible walls (black)
  • Pause and post-game restart

Requirements

pip install pygame

Controls

Action Player A Player B
Move up W Up
Move down S Down
Move left A Left
Move right D Right
Place bomb Space Enter
Global Key
Pause / resume P
Restart (after game over) R

Game Rules

  • Each player can place up to 2 active bombs at a time.
  • Bombs explode after a short timer and reach 3 tiles in each direction.
  • Explosions stop at indestructible walls and destroy destructible ones.
  • A player hit by an explosion is eliminated.
  • If both players are eliminated in the same tick, the result is a draw.

About

A simple AI for Bomberman bots combining Minimax for tactical decision-making and A* for safe pathfinding.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages