Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 731 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 731 Bytes

BomberMan

Usage:

  • Go to directory BomberMan
  • python3 main.py
  • Keys "w", "a", "s", "d" to move the player.
  • "b" to plant a bomb
  • "q" to quit the game

Features:

  • When the bomber comes into the bomb's field, it dies
  • When the enemy comes into the bomb's field, it dies
  • Enemy killed increases the score by 100

Implementation:

Code is written into different files according to their classes. Namely, "Board.py", "Bomb.py", "Bomber.py", "Enemy.py", "main.py" and "Persons.py" These files have the different classes used and their respective methods too. "main.py" is the main file which runs the game. It has all the initialisations of all these objects. Therefore executing this file will run the entire game.