Hai guys (and girls )! I've coded a "Triviabot" for Teeworlds.
A Triviabot is a bot (:o) which is asking questions.
My Triviabot is using the teeworlds engine to connect and message with servers. I removed the complete gamepart and graphic/sound/input stuff to be ressource efficient.
It's randomly joining in a server which is filtered by: min. 6 players, not full, no password.
It joins the server and tells you to write !triviastart to start a trivia.
If you do the bot explains the game and starts asking random questions from a list.
After 15 seconds you get a hint which is the correct answer with some of the letters replaced by a "-".
You also get points for every question you answer and the faster you answer it, the more points you get!
The score is saved and sorted. You can get your own rank or show the top5 (fucking cheaters ).
Everything is finished and working but i only got 8 questions so far xD (You can ofc. help me with them ^^)
My questions: Do you like it?
Should I publish the sourcecode? Remember: Spambots in our teeworld aren't fine! (First the forum, now the game xD)
And is this permitted by the devs? (Zombie players on every server )
Btw: For the people who don't want it to join in their server, just write #noTrivia in your motd. If the bot joins in your server it will search for that string in the motd and leave if it finds it.
Credits go to Theolol for the idea.