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

All bots have access to the same nondeterministic random value #111

Open
ghost opened this issue Apr 18, 2020 · 4 comments
Open

All bots have access to the same nondeterministic random value #111

ghost opened this issue Apr 18, 2020 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Apr 18, 2020

That random value is id(id).

def turn(): log(str(id(id))) # Then do normal code and you will see that all pawns and overlords will print the same value.

@arvid220u arvid220u added the duplicate This issue or pull request already exists label Apr 18, 2020
@arvid220u
Copy link
Contributor

see #106 and #107

@ghost
Copy link
Author

ghost commented Apr 18, 2020

It's not the same thing. I just didn't see where to type the description before I hit the send button.

@arvid220u
Copy link
Contributor

oh, sorry!!!

@arvid220u arvid220u reopened this Apr 18, 2020
@arvid220u
Copy link
Contributor

related to #88

@npfoss npfoss removed the duplicate This issue or pull request already exists label Apr 19, 2020
@arvid220u arvid220u removed the 🤑? label Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants