Skip to content

wzarek/bomberman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bomberman game project

last-commit made-with-react made-with-nodejs made-with-socketio made-with-typescript

How to run this project

In the client and also server directory install all required packages:

$ cd client
$ npm install
$ cd ../server
$ npm install

Run the server in the server directory:

$ cd server
$ npm start

Next, run the client in the client directory:

$ cd client
$ npm start

Open http://localhost:8080 to view it in the browser.

All server-sided logs will appear in your server terminal.

How to play

Connecting to the lobby / finding game

Firstly, you need to set up your nickname.
Then, choose a lobby from room list or create your own room.

In game

You can move by using arrow keys and plant a bomb by using spacebar.

Player

player

As a player, you initially have only 3 lives. You need to be careful with them. Any contact with an explosion will remove one life from you. On right panel (playerlist) you can check how many lives do you - or other players - have.

Bomb

bomb

Soo, this is a bomb. You know what it does, right? After planting you have 3 seconds to run away from it. Otherwise one of your remaining lives will be taken.

Blocks

There are two types of blocks:

wall

Wall block - non-breakable - It's just to make game harder and more interesting. You can't break it but you can easily hide behind.

bonus

Bonus block - breakable - After you break it there is a 40% chance that it's empty, 30% chance for speed boost and also 30% chance for cooldown reduction.

Bonuses

We can't tell you much about bonuses yet. For now all you need to know that one of them is increasing your speed by 0.5 and the other one decreasing your bomb cooldown by 0.5s.