Makavura / icubecode

Coding Challenges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Challenge

Challenges

  • Game of darts ✔️
  • Maximum theft carryaway ✔️
  • Ice & Fire ✔️
  • IOU tracking ✔️

Requirements

The solution to these challenges has been written in Javascript. As such, the following need to be installed in the environment in which you will run the code.

Optionally, you can tinker with the Js in a browser console for Darts and Knapsack solution.

  • Node v12.14.0
  • Npm (Pre-installed with Node) or Yarn
  • A Github Account - Optional, you can download code as a zip file, extract and open with your favourite terminal to run the commands
  • Git - Optional depending on choice of code access as explained above

Ice & Fire

Setup Instructions

Setup Instructions

Game of Darts

Setup Instructions

Setup Instructions

  • git clone https://github.com/Makavura/icubecode.git
  • cd icubecode
  • npm install
  • open darts.js
  • call the score function within js file with desired variables e.g score(4, 2);
  • run script by executing node ./darts.js

Max Thievery

Setup Instructions

Setup Instructions

IOU Tracking REST API

Setup Instructions

Run in Postman

About

Coding Challenges


Languages

Language:JavaScript 100.0%