Contents |
INFO
TrivServ is the super awesomo trivia bot. Number of questions stands at over 92,000 but most are pants. Scores are here: [1]
Over the summer a new web frontend will be added with the ability to add, remove and edit existing questions to the database and a super zomging rewrite of the main bot. What does it do:
Logs onto a specific irc server and joins a channel. Upon a user ‘activating’ the program it asks a question pulled from a database. It then scans the input for the first correct answer and awards points, the more time that passes, the lower the points, the program will also offer clues at timed intervals.
What it consists of:
Irc Bot – Connects to an irc server by opening the relevant socket creates a stream writer and reader, sends questions to a channel and scans for correct answers. Also offers rewards, hints and link to scores every X questions.
Database backend – Connects to the questions database and scores databases, allows for editing of questions and different categories, passes question and answer to irc bot.
Web Interface – The webpage interface will allow users to add questions, remove questions and edit questions, a method will be built in to prevent anyone but the administrators deleting questions and instead will flag them for checking. Will also have a score board and statistics page.
Main program – Ties the whole shebang together, has the fancy UI, allows the main user to select which options to set for the games, allows editing of main settings. Needs to send questions from database to the ircbot and control updating of scores and the web interface.
FEATURES
Features:
- anti google system
- logging of time taken to answer and generation of stats from this and others
- Ability to choose server, channel and port to connect to.
- Hints: adjustable number of and timing of hints. With Standard, Vowel, Last and Random.
- Adjustable points per answer and how much it drops per hint.
- Echo answer - shows the answer in the main chat to the bot operator
- Empty off - empty room, bot turns off
- No activity - if no one answer a specified number of questions it turns off
- Auto Start
- Mid and partial matching of answers.
- Adjsutable timing between questions, hints and time out
- adjustable rounds on time and questions
- please put more suggestions.
Woo -- It Lives, well, at least v0.0.1a which connects to irc, thats all. 0.0.1! That's a very big number!
SCREENSHOT
more here: [[2]]
COMMANDS
Commands: (please note, none of these work yet)
- trivia X (Starts a trivia round of X questions, unlimited for constant on)
- pause/resume (well, duh)
- score (gives your personal score)
- scores (gives the url to the scores page)
- ping (gives your ping from the bot)
- hint (gives a hint)
- strivia (stops the trivia)
- site (gives the main site)
- removeq X (removes question number X, pelase note questions can only be added from the web interface)
SUGGESTIONS
Please add some!!