Move Speed Calculator

Tech stack used:

Javascript icon

Javascript

HTML icon

HTML

CSS icon

CSS

Brief:

I was asked to create an app for a board game called Expedition. The aim of the game is for players to visit as many mountain peaks as possible in as little time as possible and there is a formula for calculating how far the players can move based on the weight of the equipment they choose.

The app is designed to make it easier for players to calculate their move speed and choose which equipment they would like to take with them on their expedition.

App features the client wanted:

  1. Mobile view
  2. To see all the equipment items and their weight in a table
  3. To be able to select and deselect different items
  4. Totals to be calculated at each section when items are selected
  5. Conditional selection of certain items (tents and sleeping bags)
  6. Move speed to be calculated and displayed

What I learned:

  • Effective communication with a client to meet their needs for the project
  • Use of switch statements for checking against multiple conditions