Re: Galaxy: integer rounding From: michael@perth.DIALix.oz.au (Michael Johnson) Date: Fri, 08 Mar 1996 00:00:00 +0000 se2dg@dmu.ac.uk (Dom Gallagher) writes: >In article <vo8bum9iu0g.fsf@crocus.csv.warwick.ac.uk>, rmm@maths.warwick.ac.uk (Mr R M Mantel) writes: >> Galaxy appears to operate with a few integer values besides the reals: >> population, colonists, raw materials (?). >I believe (I don't actually run games) that there are no integers, only reals >Those numbers appearing in turn reports are rounded (2 d.p.) versions of >the reals. >> I have a few questions concerning rounding: >> 1.) if a ship has 1.99 eff. cargo, will it take two colonists? >Nope, it will take 1.99 >> 2.) if a ship has mass 4.3, how much raw material is necessary? >4.3 units. >The rate of production of materials for the planet depends on the >natural resources This sounds right... >> 3.) With the given 8% population increase, will a planet with >> population 10 grow or stagnate? >Grow at 8% >Any extra will be converted to colonists. 1 unit of colonists is >created from every 8 population units. >The planet can only hold up to its size in population I think the colonists are stored as reals, the number of decimal points is dependant on the computer. So they will grow at 8%. Which is 1 unit of coloists from every 12.5 population units. Michael >Nearly all of this is in the rules. >If you need a copy, mail me. >-- > ___ __ __ ___ http://www.cms.dmu.ac.uk/~se2dg/ >| \ | \/ | / __| Email: se2dg@dmu.ac.uk >| |) || |\/| || (_ |_ dom@artemis.stayfree.co.uk >|___(_)_| |_(_)___(_) dom@stayfree.co.uk Up