My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
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
Status:  Done
Owner:  kood...@gmail.com
Closed:  Oct 2011


 
Project Member Reported by kood...@gmail.com, Oct 30, 2011
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
Fixed.
Status: Done

Powered by Google Project Hosting