dangolbeeker / pharaohcoin

Fyx take home assignment React, Nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pharaohcoin

Fyx gaming take home assignment React, Nodejs

The objective: The pharaoh of Egypt had ordered a new Pyramid to be built in the Capital, near the Nile river. The Pyramid would consist only of stone blocks. The mining site where the blocks are produced is 10 miles down the river. The only way to get to the mining site is by using boats on the river. Only two boats can be in the river, regardless of the direction they travel. The distance in time between the mining site and the Pyramid building location in the capital is 10 min. Each boat can carry up to 6 blocks. It takes 1 min to load a single block on a boat and it takes 2 min to unload a block. All 20 boats are initially located at the capital site by the river. You will be paid in pharaoh coins for the job. Job Rewards and expectations: You have one week to complete this task from the time you receive it. Use Reactjs, nodejs, and provide instructions on how to run the program. Your job is to deliver the maximum amount of stones from the mining site to the capital in 2 hours and provide an answer as to what that number is.

  • 1. That will give you up to 5 coins.
  • 2. Add a User Interface for up to 6 coins using ReactJS
  • 3. You can publish the source code under your GitHub account for up to 2 coins.
  • 4. You can also add instructions and documentation there for up to 1 coin.
  • 5. You can add automated unit tests for up to 3 coins
  • 6. Provide instructions on how to use it if you choose to implement it.
  • 7. You can add the ability to define the time input as a variable instead of two hours for up to 5 coins
  • 8. You can add the time to load a block as an input variable for up to 1 coin
  • 9. You can add the time to unload a block as an input variable for up to 1 coin
  • 10. You can add the total number of boats as an input variable for up to 1 coin
  • 11. You can add the time between the mining site and the Pyramid building location as an input variable for up to 2 coins

About

Fyx take home assignment React, Nodejs