Skip to content

pnpjss/three-arena

 
 

Repository files navigation

Three Arena

An arena shooter created in three.js.

Join now at: https://three-arena.vercel.app/

This game was created using the following technologies:

Installation

Prerequisites

Setting up project

git clone https://github.com/felixgren/three-arena.git
cd three-arena
npm install
cd server
npm install

Run project

// Start client
npm run dev

// Start server
npm run server

In case of errors, verify that socket.io client in game.js is targeted at matching localhost port inside /server/main.js.

Changelog

Code Review

  1. Game.js:8,11-12 - Gets imported but isn't used.
  2. Game.js:82 - console.log() :)
  3. Game.js:75 - Remove code that isn't in use.
  4. Game.js - For better readabilty you can split game.js into multiple files.
  5. Game.js:423-46 - For better performent we would suggest a switch-statement instead.
  6. Game.js: - Existing descriptions could be more informative :)
  7. Game.js - Unclear what controls that we are supposed to use. "Open / Close Controls" doesnt work.
  8. Instructions how to play.
  9. We dont really understand the game :)
  10. Gives warnings when running "npm run build".

Testers

Tested by the following people:

  1. Jane Doe
  2. John Doe
  3. Jane Doe
  4. John Doe

Tested by the following muggles (non-coders):

  1. Jane Doe
  2. John Doe
  3. Jane Doe
  4. John Doe

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.9%
  • GLSL 10.7%
  • CSS 4.8%
  • HTML 3.6%