Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orientation of level sometimes not random #36

Closed
sfiera opened this issue Mar 13, 2015 · 2 comments
Closed

Orientation of level sometimes not random #36

sfiera opened this issue Mar 13, 2015 · 2 comments

Comments

@sfiera
Copy link
Member

sfiera commented Mar 13, 2015

Original issue 33 created by sfiera on 2010-04-01T01:53:27.000Z:

What steps will reproduce the problem?

  1. Start Antares.
  2. Begin a level.
  3. Restart Antares, and repeat the same actions.

What is the expected output? What do you see instead?

The orientation of the level will be the same the second time as it was the first time. It should be
different (or rather, random).

@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #1 originally posted by aurel.bily on 2010-10-30T12:55:32.000Z:

Why does this happen? I mean - it doesn't happen in all scenarios, and, I don't actually remember one time the rotation would be non-random.

So - does it happen only in some scenarios or some specific conditions?

@sfiera
Copy link
Member Author

sfiera commented Mar 13, 2015

Comment #2 originally posted by sfiera on 2010-10-30T13:37:47.000Z:

It typically would only happen if you start the game twice on the same level, and only on that level. It happens because we don't seed the random number generator with any initial entropy.

@sfiera sfiera closed this as completed Mar 13, 2015
@sfiera sfiera modified the milestone: 1.0 Mar 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant