Kata Programming

author @ Adrián Velasco

https://kata-programming.vercel.app


This project was bootstrapped with Create React App.

Preview

This project was bootstrapped with Create React App.

Tech Stack

Notes

  • The algorithm to resolve the combination of attacks given a list of potions is in the file:s rc/algorithm/getTheMostDamagingAttacks.ts
  • All the logic is isolated in a custom hook, usePotionCalculator.ts and used in the PotionCalculator component
  • I wrote unit tests to cover the algorithm functionality and the redux store
  • It’s mobile responsive

Getting Started

Start the project in development mode:

yarn install
yarn start

# Then, open http://localhost:3000 in your browser.

Run tests

yarn test

Builds the app for production to the build folder.

yarn build

GitHub

View Github