The previous commit was buggy, and I simplified it by having the logic in a let statement instead. Also simplified the isCollided code by only partially applying the parameters.
Added a fuel field to the ship.
Added an update function for the fuel. The game now finishes when it hits 0. Added a simple display of the amount of fuel left.