//! 🎄 Day 8: PokéPhysics
//! In the heart of the North Pole, Santa's workshop buzzes with a new
//! type of magic. A portal has opened, and Pokémon from another world
//! have tumbled into the snow-dusted realm of elves and
//! reindeer. Santa, ever the innovator, sees an opportunity: why not
//! enlist these charming creatures in his annual gift-giving
//! campaign?
//! But before the sleigh bells ring and the Pokémon can join the
//! flight, Santa needs to understand their unique properties and
//! figure out how many can fit into his sleigh, given their weight.
use Path;
/// ⭐ Task 1: IT'S PIKACHU!
/// given a pokédex number, responds with the corresponding Pokémon's weight in kilograms as a number in plain text.
pub async
/// 🎁 Task 2: That's gonna leave a dent (160 bonus points)
/// Once the Pokémon's weight is retrieved, Santa needs you to
/// calculate the momentum it would have at the time of impact with
/// the floor if dropped from a 10-meter high chimney (so that he
/// knows if he needs to climb down or if he can just drop it).
/// Keep in mind that the gravity of Earth that Santa has in his
/// physics book was measured close to the North Pole. This could
/// explain why his calculations are a bit off sometimes, but he still
/// wants you to use it.
/// The momentum, measured in Newton-seconds, signifies the force the
/// Pokémon would exert upon meeting the floor beneath the 10-meter
/// high chimney.
/// The GET endpoint /8/drop/<pokedex_number> shall respond with a
/// plain text floating point number.
pub async
/// Use gravitational acceleration g = 9.825 m/s². Ignore air
/// resistance.
const GRAV_ACCEL: f64 = 9.825;
/// Chimney height
const DROP_HEIGHT: f64 = 10.0;