Skip to content

Architecture and Technologies

Tommy Pham edited this page Apr 15, 2018 · 6 revisions

This project will be implemented using the following technologies:

  • Vanilla JavaScript for overall structure and game logic
  • HTML5 Canvas for DOM manipulation and rendering
  • Webpack to bundle and serve up various scripts

In addition to the webpack entry file, game.js, there will be six other scripts involved in this project:

  • player.js: provides overall characteristic common across all players such as types of classicalElements
  • humanplayer.js: determines the appropriate actions and logical steps taken in response to the users and other players
  • computerplayer.js: houses scripts to automate dodgePercent, counterPercentage, and movement
  • environmentjs: houses scripts to automatically generate the environment such as barricades
  • powerups.js: determines the characteristics imported by the player when picking up a powerup
  • util.js: supports the overall game and houses code used across two or more classes
Clone this wiki locally