A bit better way to do height calculations.

Mapping parseInt over the values gives incorrect values arbitrarily.. :(
Setting up code for user-specified game settings.