You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's important here in the `play` method that bot should return `BasicMove` object from the list, it is because `Move` objects come from the engine with an Identification number `move_id` which is used to quickly identify whether move is legal or not.
50
50
51
51
### Running the game
52
-
The `ScriptsOfTribute.game.Game` class is used to register and run your bots. Here's how to use it:
52
+
The `scripts_of_tribute.game.Game` class is used to register and run your bots. Here's how to use it:
53
53
```python
54
54
from ScriptsOfTribute.game import Game
55
55
from Bots.RandomBot import RandomBot
@@ -136,11 +136,11 @@ This code is available in the `examples` directory, as well with the example bot
136
136
137
137
## Contributing
138
138
if you would like to work with the code locally you might need to (re)generate `protobuf` files.
139
-
The library uses gRPC for communication with the C# .NET engine. The `.proto` files are located in the `ScriptsOfTribute/Protos` folder. To generate the necessary Python files, run:
139
+
The library uses gRPC for communication with the C# .NET engine. The `.proto` files are located in the `scripts_of_tribute/protos` folder. To generate the necessary Python files, run:
0 commit comments