Changes between Version 175 and Version 176 of WikiStart
- Timestamp:
- 05/08/19 13:10:03 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v175 v176 208 208 You need to wrap your python agent into a jar wrapper to get it accepted by the parties server. To do this, check the javadoc with the [https://tracinsy.ewi.tudelft.nl/trac/Genius2/browser/pythonadapter/src/main/java/genius2/pythonadapter/PythonPartyAdapter.java PythonPartyAdapter]. 209 209 210 211 = Writing a party in other languages 212 If you want to use another language than java or python2 to write your parties, you have a number of options 213 * Make your own adapter that runs your language from Java. Check the [soruce:/pythonadapter/PythonPartyAdapter.java] for an example how this can be done. 214 * Write your own partiesserver that correctly implements the [https://tracinsy.ewi.tudelft.nl/trac/Genius2PartiesServer partiesserver interface]. This boils down to creating up a webserver that correctly can handle calls to a number of prescribed URLs and websockets. 210 215 211 216 = JSON layout