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
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,14 @@ All game events that happened since the last running state are listed on the lef
88
88
89
89
#### The controller crashes on start. What can I do?
90
90
Try deleting the history.json file in the working directory. It may got corrupted.
91
-
91
+
92
+
## Integration into your own framework
93
+
The game-controller can easily be integrated into your own AI framework, if you do not want to implement your own controller for testing purposes.
94
+
95
+
Download the release binary from the Github release and run it from inside your framework. Then, attach to the WebSocket API that is used by the UI as well. The API is defined in [internal/app/controller/events.go](internal/app/controller/events.go).
96
+
97
+
An example can be found here: https://github.com/TIGERs-Mannheim/AutoReferee/blob/master/modules/moduli-referee/src/main/java/edu/tigers/sumatra/referee/SslGameControllerProcess.java
98
+
92
99
## Development
93
100
94
101
### Requirements
@@ -136,4 +143,4 @@ go get github.com/gobuffalo/packr/packr
0 commit comments