/Spacecraft-Experiment

Testbed for a rigid body dynamics simulator, possibly to develop into a little spacecraft game.

Primary LanguageHaskellMIT LicenseMIT

Install Prerequisites:

$ sudo apt-get install libgsl0-dev liblapack-dev libatlas-base-dev

libgsl0-dev, liblapack-dev, libatlas-base-dev are required for hmatrix, which
provides Numeric.LinearAlgebra.

Compile and Execute:

$ cabal run


Operating:

Your "spaceship" is an ugly rectangle, red on the left, green on the right,
like the lighting colors on an aircraft or boat. You have two thrusters, one
attached on the left side, the other on the right, both of which provide
forward thrust. The left arrow key activates the left thruster, the right arrow
key activates the right thruster.