Skip to content

Grohden/ts-phaser-bomb-game

Repository files navigation

Ts phaser bomb game

Another university project that i'm being forced to do.

Hey, what's this?

This is a server x client multiplayer (websocket) bomberman clone game.

Why only one class in the client?

I'm making this to work, not to be maintanable/scalable, so yes, this is XGH

/**
 *              ,
 *             / \,,_  .'|
 *          ,{{| /}}}}/_.'            _____________________________________________
 *         }}}}` '{{'  '.            /                                             \
 *       {{{{{    _   ;, \          /            Ladies and Gentlemen,              \
 *    ,}}}}}}    /o`\  ` ;)        |                                                |
 *   {{{{{{   /           (        |                 this is ...                    |
 *   }}}}}}   |            \       |                                                |
 *  {{{{{{{{   \            \      |      _____     __  .-_'''-.   .---.  .---.     |
 *  }}}}}}}}}   '.__      _  |     |      \   _\   /  /'_( )_   \  |   |  |_ _|     |
 *  {{{{{{{{       /`._  (_\ /     |      .-./ ). /  '|(_ o _)|  ' |   |  ( ' )     |
 *   }}}}}}'      |    //___/   --=:      \ '_ .') .' . (_,_)/___| |   '-(_{;}_)    |
 *   `{{{{`       |     '--'       |     (_ (_) _) '  |  |  .-----.|      (_,_)     |
 *    }}}`                         |       /    \   \ '  \  '-   .'| _ _--.   |     |
 *                                 |       `-'`-'    \ \  `-'`   | |( ' ) |   |     |
 *                                 |      /  /   \    \ \        / (_{;}_)|   |     |
 *                                 |     '--'     '----' `'-...-'  '(_,_) '---'     |
 *                                 |                                               /
 *                                  \_____________________________________________/
 */

Okay, but how do i build it?

First, you will need node and npm, after that you just download the project and run:

  • npm install
  • npm run bootstrap
  • npm run start:fresh

After those, you can open the localhost:5000 and enjoy your game :D

Preview

Here's a preview of me playing with myself (And i won!)

Sprites

All the sprites here are made by me, except the main char, which is from the phaser tutorial, i only added more frames to it