diff --git a/README.md b/README.md index 4a86d4b..22ebc47 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,14 @@ included are 3 robots: - simplehunter As the name implies, it is a simple hunting robot, that scans the surrounding playing field and if an enemy is detected, it starts to follow and aims the guns to the target. if the right distance is reached, it will fire its cannon. +To start the simulation, you need to have 2 robots connected and waiting. +This can be changed in the server index.ts in line 10. +Changing it to +```Javascript +worldSim.start(3) +``` +will wait for 3 robots. + You can (and should) create your own bots with as many logic as you seem fit. Use simple state machines, fancy AI, or whatever. If you use typescript, the easiest way to interface the robot is via overloading the RoboBase class, see above robots as examples. You can use any other language and use above websocket messages.