/sparky

A calculator for determining how much money you will be wasting.

Primary LanguageTypeScript

Sparky

Spark it up Sparky!

This is a simple web application to aid in financial calculations related to Granblue Fantasy.

Usage

The user inputs the number they possess of each of the following:

  • Crystals (300 per draw)
  • Ten Part Draw Tickets
  • Draw Tickets
  • Cerulean Sparks

The calculator then determines the number of ten draws that must be completed in order to hit 300 cerulean sparks and associates that with a cost in JPY:

required ten draws * 3150 JPY per ten draw

If the user has more than one spark, the cost is always determined for the next spark.

Development

Pull in dependences:

> npm install

Start a development server:

> npm start

Contributing

  1. Fork the repo.
  2. Make your changes.
  3. Ensure that npm run lint does not return any errors.
  4. Send a pull request.

Please make sure to follow reasonable style standards and conventions.