Skip to content

jamesbmayr/mazertag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAZERTAG

MazerTag is a multiplayer top-down arcade game by James Mayr. Audio by Alex Berg.


GAME MODES

  • classic tag: one player is "it" and must bump or zap another player
  • team freeze tag: bump and zap players to freeze opponents and unfreeze allies
  • capture the hat: find and keep the hat to win; whoever wears it has no laser
  • team battle: bump and zap opponents back to their spawn to rack up points
  • collect the orbs: fight other teams over randomly generated orbs

ARENA COMPONENTS

  • walls: block laser and movement
  • windows: block movement
  • mirrors: reflect laser and block movement
  • obstacles: block laser and movement, can be moved
  • teleporters: change player position to another teleporter

PLAYER ATTRIBUTES

  • speed: your acceleration and top velocity
  • strength: how far you push obstacles and how much damage you do bumping opponents
  • laser: the damage dealt from your laser and how well it holds up from reflections
  • recovery: how quickly your energy recharges from lasers and bumping
  • vision: how far you can see in all directions

CONTROLS

  • movement: WASD or ↑←↓→
  • rotation: [] or ,.
  • laser: SPACE

CODE

The app is powered by nodeJS, written in 100% raw javascript. It uses the following packages:

  • websocket: for real-time communication between client and server

MazerTag
|
|- package.json
|
|- index.js
|
|- node_modules
|   |- websocket
|
|- node
|   |- core.js
|   |- game.js
|   |- session.js
|
|- js
|   |- game.js
|   |- home.js
|
|- css
|   |- game.css
|   |- home.css
|   |- main.css
|
|- html
|   |- _404.html
|   |- game.html
|   |- home.html
|
|- assets
	|- logo.png

About

MazerTag is a multiplayer top-down arcade game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published