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

Possible Non-deterministic behaviour #16

Open
DRealHammer opened this issue Feb 28, 2022 · 1 comment
Open

Possible Non-deterministic behaviour #16

DRealHammer opened this issue Feb 28, 2022 · 1 comment

Comments

@DRealHammer
Copy link

If two agents are next to each other and move at the same time in the same direction that is blocked by one of the agents, sometimes only the not blocked one and sometimes also the blocked one can move.

I assume it is related to how the game updates the players (random order?) or maybe just how the user input works.

Reproduce: create a game with two user_agent player (coin_heaven is the easiest setting), move one agent to the other, try moving in a direction, that is blocked by one agent multiple times

@fdraxler
Copy link
Collaborator

fdraxler commented Mar 7, 2022

You are right that this is non-deterministic. However, randomness is not a problem per se for reinforcement learning, but you can think about it as a random part in the game. A good agent will probably not rely on an action which only succeeds in few cases, unless it is very effective in the cases in which it works. Can you explain why randomness is a problem and do you have a suggestion how the game can be changed to counteract this?

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

2 participants