FUCK RUNTIME ERRORS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Raphael J. 2ba2248fc8 polished things a bit and added readme 2 months ago
src polished things a bit and added readme 2 months ago
LICENSE FIRST COMMIT NIGGERS 2 months ago
README.md polished things a bit and added readme 2 months ago
Setup.hs FIRST COMMIT NIGGERS 2 months ago
landing.cabal FIRST COMMIT NIGGERS 2 months ago
stack.yaml FIRST COMMIT NIGGERS 2 months ago

README.md

landing

Yes

Build instructions

Not really sure i guess you need Stack and then just run stack build inside YOLO, and then run it with stack exec landing <Arguments>

You can also just install GHC and compile Main.hs file separately

Sample output

raphy@home ~/p/h/t/l/src (master)> stack exec landing ass
NOOO!!! Write "Theta Speed Height" and GRAVITY if you want ok?? Use a negative value for gravity OK?? also use radians OK???
raphy@home ~/p/h/t/l/src (master)> stack exec landing 1 10 10
The projectile landed 13.644809967886031 meters away.
raphy@home ~/p/h/t/l/src (master)> stack exec landing 1 10 9.8
The projectile landed 13.57840937141145 meters away.
raphy@home ~/p/h/t/l/src (master)> stack exec landing 1 10 2
The projectile landed 10.421851665156488 meters away.
raphy@home ~/p/h/t/l/src (master)> stack exec landing 1 10 100
The projectile landed 29.48462193459356 meters away.