Skip to content

Mainly a TDD/Jest usage exercise! Calculate your age/lifespan on other planets. UI is a WIP.

Notifications You must be signed in to change notification settings

Nalundquist/supgalacal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Galactic Age Calculator

Created by Noah Lundquist in September of 2022

Links

Description

An exercise in using webpack, Jest, eslint, et al. When deployed displays a simple webpage which gets your age and opinions re: faith and an unnamed (possibly malevolent?) deity which then gives a calculation of how old you would be on any of the inner five planets of the Milky Way and how old you will live to based upon your fealty to aforementioned deity. Please Note: the usage of piety towards a strange kinda-sorta Lovecraftian sounding deity being a lifespan determinant is not an anti-theist hot take; I just didn't want to wade into actual determinants of lifespan because I found that depressing.

Features

  • Inputted number and "piety" display a sidebar of age on (whatever) planet and life expectancy based on "piety".
  • If your age on Earth is greater than your life expectancy you will be given the difference between the two on a per-planet-year basis.
  • More of the REDACTED joke that I'm not tired of yet

Technologies Used

  • Built in VS Code (v.1.70.1) using the following languages:

    • HTML
    • CSS
    • Javascript
  • Packages used include:

    • Webpack
    • ESLint
    • Babel
    • Jest
  • Tested in the following browsers:

    • Google Chrome (v.104.0)

Installation

  • Download Git Bash

  • Input the following into Git Bash to clone this repository onto your computer:

      >git clone https://github.com/nalundquist/mrroboger
    
  • Enter the cloned project folder "supgalacal" and type:

      >npm install
    

    after such, type:

      >npm run start
    

    To host the site on your machine at localhost:8080. Alternately you can type

      npm run build 
    

    to have webpack put together things as needed and access the project by opening the supgalacal folder in file browser, open the dist folder, and open the index.html therein in the browser of your choice.

Known Bugs

  • None at this point

License

Licensed under GNU GPL 3.0

About

Mainly a TDD/Jest usage exercise! Calculate your age/lifespan on other planets. UI is a WIP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages