dsyang / bomberman-maze

Project 1 for 15-237

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bomberman-maze

Project 1 for 15-237

Authors

Anand Pattabiraman (apattabi) Dan Yang (dsyang) Shikhara Nalla (snalla)

Intro

Bomberman-Maze is a 2-player maze/puzzle style game in the style of bomberman. Each player controls a bomberman in a maze of coins, blocks, and keys and is trying to use his or her bombs to destroy the blocks and find the door. Just finding the door is not enough however, as the door is locked and you must find the key among the blocks to unlock the door and escape. Can you be the one to open the door?? Will you collect the most coins?! Beware, though coins and keys are immune to bombs, your bomberman is not.

Controls

Player 1:

  • wasd : Up/left/down/right
  • q : place bomb

Player 2:

  • okl; : Up/left/down/right
  • i : place bomb

Technologies

Javascript canvase all the way.

  • mouse events: used on the opening menu to start the game
  • keyboard events: used to move players and bombs
  • drawing images: used everywhere
  • rendering text: the game over screen
  • rendering arcs: a player's lives

Cheat Codes

game.noBlocks() : destroys all the blocks

About

Project 1 for 15-237


Languages

Language:JavaScript 100.0%