Some arithmetic


next up previous
Next: Gateways
Up: Traveller
Previous: Traveller
Back: to main list of student notes

Some arithmetic

In Supplement 5, I asked you to amend COLLIER so that he would buy more fuel if he was at a fuel station and had less than 10 units left. At the time, you only knew how to make him buy a fixed amount, regardless of his need.

Now, using is: can you amend your definition (or that in COLLIER2), so that he always buys exactly what's needed to refill his fuel tank up to its limit?

Now, consider moving from Colliery Row to The Hub. Even if you do make a coal trader who always buys exactly the right amount of fuel, he will eventually run out of money, because the net cost of fuel on each cycle is greater than the profit to be made from coal. The Hub offers richer pickings; both televisions and glasses should (barring chance events) enable a careful trader to make a steadily increasing profit. Can you program a Hub trader?


next up previous
Next: Gateways
Up: Traveller
Previous: Traveller
Back: to main list of student notes



Jocelyn Paine
Tue Jun 4 18:14:46 BST 1996