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

Protect GameState when passing it to AIs #2

Open
arbrown opened this issue Jun 24, 2013 · 0 comments
Open

Protect GameState when passing it to AIs #2

arbrown opened this issue Jun 24, 2013 · 0 comments

Comments

@arbrown
Copy link
Owner

arbrown commented Jun 24, 2013

GameState is passed as a value, but contains references to slices that have other players' scores. Malicious AIs could clobber the scores, and thus should only be passed a copy of the actual game state which the game manager will preserve inviolate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant