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

player encoding #11

Open
3k-dome opened this issue May 1, 2023 · 0 comments
Open

player encoding #11

3k-dome opened this issue May 1, 2023 · 0 comments

Comments

@3k-dome
Copy link
Owner

3k-dome commented May 1, 2023

All currently implemented player encodings are destined to fail.

The current encoding does not accommodate for any games in which the AI agent is not player one since all encodings are in player order, i.e., player one, player two, and so on. And since there is no way for the agent to know which player it represents, the agent would likely fail to understand the encoding.

Therefore, a new encoding system is proposed, which always puts the player whose turn it is in the first position of the encoding. Additionally, other players are simply referred to as opponent one to three, in order.

The new encoding would, therefore, keep the player the AI represents always in the same position in the vectorized state for each agent, whether it is player one or any of the others. This, in turn, would provide a more generalized and streamlined model input.

old new
player one current player
player two opponent one
player three opponent two
player four opponent three
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