| Issue 15: | bug in randomly creating direction for creatures per proj specs` | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Specs say
Randomly place the following creatures facing randomly.
Call rand(), mod it with 5184 (72x72), and use that for the position
in a row-major order grid.
Call rand() again, mod it with 4 and use that for it's direction with
the ordering: west, north, east, south.
Do that for each kind of creature.
We're not using that w,n,e,s ordering.
Oct 30, 2011
Project Member
#1
kood...@gmail.com
Status:
Done
|