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
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,6 @@ pip install scripts-of-tribute
26
26
```
27
27
28
28
## Getting Started
29
-
### Generating Grpc Files
30
-
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:
This will generate the required gRPC Python files in the `Protos` folder.
35
-
36
29
### Creating your bot
37
30
To create your own bot, you need to inherit from the `ScriptsOfTribute.base_ai.BaseAI` class and implement the required methods:
38
31
```python
@@ -141,6 +134,14 @@ if __name__ == "__main__":
141
134
```
142
135
This code is available in the `examples` directory, as well with the example bots.
143
136
137
+
## Contributing
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:
description = "Library wrapper to create bots for Scripts of Tribute AI programming game. It runs gRPC client-servers instances and connect with main engine made in C#"
0 commit comments