Skip to content

skillwork-mdimitrov/SWTraveler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWTraveler

A Vanilla JS Star Wars resupply calculator app determining the needed stops when traveling a given distance.

Screenshot

alt text

How to run

Open index.html in the browser of choice alt text

Requirements:

Testing:

Run test() in the browser's console alt text

Background

As part of this code challenge you will be using an API available here: https://swapi.co/
We want to know for all SW star ships, to cover a given distance, how many stops for resupply are required. The application will take as input a distance in mega lights (MGLT). The output should be a collection of all the star ships and the total amount of stops required to make the distance between the planets. All other application details are at your own discretion. Sample output for 1000000 input: Y-wing: 74 Millennium Falcon: 9 Rebel Transport: 11

About

A Star Wars resupply calculator app, determining the needed stops when traveling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published