Skip to content

Bomberman terminal game done with numpy.

Notifications You must be signed in to change notification settings

Pk13055/bomberman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Terminal Bomberman

Introduction

This game has been written using almost Vanilla Python. It uses the numpy library to keep track of the grid. Dependencies are only numpy. Important to note that the game has been tested on ONLY Linux-based OSs, and may not work on Windows.

Structure

The application demonstrates inheritance, encapsulation, polymorphism as well as overloading.

  • Each "object" is a derived class of the Object class.
  • Each player/enemy is a derived class of the Person class.
  • The board has its own class and and captures all objects placed on it.

Running the program

  • First, install all the requirements:
    • pip install -r requirements.txt
  • Now, simply replace the first line of main.py with the location of your python installation
    • #!/usr/bin/env python
  • Running the program is easy
    • ./main.py

Controls

  • Controls follow traditional classic titles (W,S,A,D)
  • To drop a bomb press b
  • To quit, press q

File Structure

.

Releases

No releases published

Packages

No packages published

Languages