ASPP / pelita

Actor-based Toolkit for Interactive Language Education in Python
https://github.com/ASPP/pelita_template
Other
62 stars 68 forks source link

Add bot tags in server mode #795

Open Debilski opened 3 months ago

Debilski commented 3 months ago

This is the first step to completely over-engineer the protocol but we might want to have a way to have all bots in the config.yaml, although at the same time, we do not want to have them all exposed when a server requests a connection to pelita://myhost/

We could add a tags to the bots to the config file and then have a handler that interprets pelita://myhost/aspp2023 or pelita://myhost/?tag=aspp2023 appropriately.

Bonus part: Some bots can only be unlocked with a key.

Bonus part to the bonus part: A key can be obtained from the server when a certain task is completed (like a number of games that are won). :)