ultimate / syncnapsis

syncnapsis application and game development framework
4 stars 2 forks source link

Bot-Interface #25

Open ultimate opened 10 years ago

ultimate commented 10 years ago

Bei den meisten Browsergames sind Bots nicht erwünscht, oft sogar verboten. Nichtsdestotrotz gibt es immer wieder Leute, die welche Programmieren und sich darüber hinweg setzen, in erster Linie natürlich um sich daraus Vorteile zu verschaffen.
In PEU dagegen möchte ich ganz explizit Bots erlauben! Ich würde gerne in späteren Versionen eine speziell auf Bots ausgelegte Schnittstelle haben, über die all das gemacht werden kann, was auch über die Oberfläche geht:

Auf diese Weise ergeben sich ungeahnte Möglichkeiten für Wettbewerbe für KIs. Imperien, die von KIs gespielt werden können entsprechend gekennzeichnet und getrennt gewertet werden um so z.B. die KI-of-the-Week zu ermitteln. Ich glaube das wäre ein lustiger Anreiz für viele das Spiel nicht nur zu spielen, sondern auch KIs zu entwickeln. Es wäre doch bestimmt faszinierend zu sehen, was da so bei rauskommt.
Anstatt einer Oberfläche soll das ganze nur etwas einfacher bzw. maschinennaher gestrickt sein, sodass die Bots gezielt Informationen austauschen können. Ich stell mir das in etwa so vor:

ultimate commented 10 years ago

Due to the current use of WebSockets and a parallel HTTP-Fallback the bot-interface is identical to the user-communication-layer that is transparently hidden in the background. This makes bot communication much easier and makes the separate interface unnecessary, but in counteraction makes bot identification more difficult. One way for identification could be using the HTTP "User Agent" Field when doing the websocket handshake, so each bot is able to identify itself with underlying Software and Version... ^^ (Of course this won't secure us from bots identifying as a browser... :-/ We can either trust the community or we have to think about the mechanisms again later...)