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

Bots #108

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Bots #108

wants to merge 3 commits into from

Conversation

PacoSchatz
Copy link
Collaborator

@PacoSchatz PacoSchatz commented Mar 12, 2024

resolves #93

I added an abstract bot class and two examples for bots. These are the two bots provided by the hockey env.
In matchmaking, I changed it, so after 5 mins Players are matched with a bot.

The current problem I have is, that a player needs to know its token and or user_id. If it knows one it/the matchmaking manager can find the other using the database. Currently, these are just hardcoded in the example bots. This is no good and it would be good to change this to a more elegant way.

Todo:

  • Move the example bots to examples
  • figure out how a bot can know its player_id

@PacoSchatz PacoSchatz self-assigned this Mar 12, 2024
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

Successfully merging this pull request may close these issues.

Bots
1 participant