Skip to content

Latest commit

 

History

History
171 lines (140 loc) · 6.44 KB

README.md

File metadata and controls

171 lines (140 loc) · 6.44 KB

Table of contents

  1. Introduction
  2. Game
  3. UML-diagram
  4. Features
  5. Challenges

Introduction

This is our Bomberman game project for the Object-Oriented Programming course at HCMIU in semester 2 (2022-2023). We all knew that the game is a classic, but we wanted to make it more interesting and challenging. So we decided to add some new features to the game. We hope you enjoy it the most comfortable !

Team Members

Order Name Student ID
1 Trần Vũ Khánh Hưng ITCSIU21182
2 Ngô Í Khang ITCSIU21192
3 Lữ Nguyên Vĩnh Phúc ITCSIU21217

How to run

  1. Clone this repository
    git clone https://github.com/Khanhhungtran23/Bomberman-Adventure
  2. Open the project with IntelliJ IDEA or VSCode and check the file status
    git status
  3. Run the project
  4. Enjoy the game

Task Allocation

Order Name Task Contribution
1 Trần Vũ Khánh Hưng Entity , Controls ( CollisionCheck ) , Objects ( SpeedIncrease , SuperObject ) 33.3
2 Ngô Í Khang GUI, Controls ( MouseHandler , SoundHandler ) , Objects ( BlastRadius , Door , ExtraBomb ) 33.3
3 Lữ Nguyên Vĩnh Phúc GUI , Variables , Slides , Controls ( Keyhandler , CheckAvailable ) 33.3

Motivation 🦾

As a fresher developer, we assume that the Bomberman game is one of the most simple game which helps us in practicing coding with OOP also some significant aspects of the front-end such as: How to render the game? , How frame working in UX/UI? , ….

Game

About The Game

Controls

Key Action
UP Move Up
DOWN Move Down
LEFT Move Left
RIGHT Move Right
SPACE Place Bomb
P Pause
The character is controlled by the arrow keys and the space bar on the keyboard. The player can move the character by pressing the arrow keys. The player can place a bomb by pressing the space bar. The player can pause the game by pressing the P key.

Items

Item Effect
Extra Bomb Increase the number of bombs
Blast Radius Increase the range of bombs
Boots of Hermes Increase the speed of the player

UML-diagram

Controls

Entity

GUI

Objects

Variables

Features

We added some new features to the game, such as:
- The player can move faster by picking up the Boots of Hermes item.
- The player can place more bombs at the same time by picking up the Extra Bomb item.
- The player can increase the range of bombs by picking up the Blast Radius item.
- There 2 maps currently in the game, with different obstacles and enemies.
- The boss will appear in end of map 2, with a lot of health and will track the player. To kill the boss, you have to be patient and wait for the right time to attack.
- After defeating the boss at the level 2, you will win the game and become the "Hero of the BomberLand".

Challenge

The most challenging part of this project is the collision detection. We had to make sure that the player can't go through the walls, the enemies can't go through the walls and the bombs can't go through the walls. We also had to make sure that the player can't place a bomb on the wall.
During the process, there were some bugs like:
- The player can place a bomb on the wall.
- Collision detection is not working properly.
Fixing these bugs took us a lot of time, but it help us learn a lot of things about the game.

(Back to top)