Page 1 of 2

Akobo IRC-Bot (Currently: Clue + Murdering)

Posted: January 25th, 2012, 3:21 pm
by Akonyl
Clue-Bot

Clue-Bot is up and running! Join #miniclue to play!

I've learned that a dangerously high amount of people don't know how to play Clue. Here's a Wikipedia article!

Currently issues and stuff:
- It's honor system that you're moving your piece as far as you should. It wouldn't be too much work to change this, but I sorta like it this way :P
- Currently, a "formal accusation" is just a suggestion that is performed while the player is in the Cellar. Should this be changed to let people formally accuse anywhere?


Clue-Bot How-To

First, if Akobo is in the room, type "akoboclue" to make sure it's clue-ing up.

Characters: Scarlet, Mustard, White, Green, Peacock, Plum
Weapons: Candlestick, Knife, LeadPipe, Revolver, Rope, Wrench
Rooms: Kitchen, Ballroom, Conservatory, DiningRoom, BilliardRoom, Library, Lounge, Hall, Study
Capitalization isn't important, but spelling and lack of spaces is!

Chat Commands:
!start : Use to initiate a game of Clue.
!join Character : Join the game as the specified character.
!startgame : Once all the desired players have joined, this gives out the cards and starts the action.

--Player-Only-Commands--
!stay: On your turn, forfeit your movement action.
!roll : On your turn, roll 2d6.
!move Space : After rolling, move to the desired space (ex: A15, O8, I4, Kitchen).
!passage : On your turn, if in a room with a secret passage, moves you to the corresponding room.
!suggest Character Weapon : On your turn while in a room, suggest that the given character performed the murder with the given weapon in your current room.
!accuse Character Weapon Room : Same as !suggest, however this is your final accusation and determines whether you win or lose. May be done from any room, but not from a hallway.
!pass : On your turn, if you could otherwise suggest, you may choose to not make a suggestion instead.
!terminate : If you want to end the game early for some reason (someone came in and wants to play etc), this starts a countdown to end the game in 20 seconds.
!stopterminate : Stops the termination countdown, saving the game from a sad fate.
!board : Shows the board state, in case you forgot.
!cards : Tells you how many cards each player has.
!timeout : Usable after a player has not responded for a long enough time (60sec) to skip their turn.
!forcecard : Usable after a player has been told to present evidence and has not responded for a long enough time (60sec) to make them show a random applicable card.

PM Commands:
!help : Get the bot to tell you some reference information without having to come back here.

--Player-Only-Commands--
!show Card : Show the bot a certain card in your hand (when asked for evidence to refute a suggestion). The bot will show the necessary player the card.
!mycards : Get shown your hand again in case you forgot to jot it down and you lost your PM window or something.


---

Other stuff:
!murder: Someone kills someone with a thing, can someone stop it?!
!dcmurder: Someone from DC kills someone from DC with a thing, can someone stop it?!
!akobomurder: Akobo kills someone and hides their body! :O

Original post:
Spoiler:
So, last night I decided to go "I wonder what it would be like to set up an IRC bot" and now I have an irc bot that does nothing interesting except act tsundere when you mention its name. So then I was like "well what should I actually have it do", and though the obvious answer is "mafialolol", I'm too lazy for that and I'm pretty sure someone's trying their hand at that anyway and I don't wanna step on toes, so I was like "you know, Clue was pretty fun that one time we did it, but it was a pain because of the GM time" so I was like "I could do Clue in case anyone ever wants to do that again!"

So, the bot could take care of skipping people who don't have correct cards and automatically moving the turn on when someone reveals their card (which was a significant amount of the time), but then the obvious question of "man, that board sucks though" pops up. To this, there's two possible solutions:

1) Have the bot keep an internal copy of the Clue board, and output the board status as a URL in the chat that would lead to a web-space that would show the board's current layout, having players denote moves by saying like "go to A5" or something. Would be harder to implement and would make the game a little longer (through dice rolling and choosing spaces + viewing board layout), but would represent the actual game.
2) Make a "Simple Board" version of the game, where players only move 1 space a turn, however the entire area outside of rooms is consolidated into one space. This would mean that every room is 2 moves away from every other room, barring the rooms with secret entrances (which would be 1 away), and the bot could very easily just blurt out peoples' positions in-chat. Alternately, the "common area" could be split into NE/NW/SE/SW quarants to make things a bit closer to reality.

In essence, it comes down to "do you think the game is really just about making the deductions" or "do you think it's hilarious when people get screwed by rolls". So, if this bot ever comes to fruition, which would people prefer?

Re: IRC clue-bot

Posted: January 25th, 2012, 4:39 pm
by Conia
Voted Real Board, and I wish to play Clue now.

Re: IRC clue-bot

Posted: January 25th, 2012, 4:43 pm
by Edogawa4869
Conia wrote: Voted Real Board, and I wish to play Clue now.
^

Re: IRC clue-bot

Posted: January 26th, 2012, 12:58 pm
by Akonyl
oh hey, someone who isn't me voted for the simple option :O

Re: IRC clue-bot

Posted: January 26th, 2012, 9:27 pm
by Raiden
Akonyl wrote: oh hey, someone who isn't me voted for the simple option :O
Guilty. o/

:-X

Re: IRC clue-bot

Posted: January 27th, 2012, 5:47 am
by Kleene Onigiri
Ako option *beeps ako*

Re: IRC clue-bot

Posted: January 27th, 2012, 10:17 am
by Akonyl
Kleene Onigiri wrote: Ako option *beeps ako*
... :O

not in here!  :-[

anyway, this poll is rendered worthless now anyway, because I made the real board, and you can look at it here if you're interested. If I made any error copying the board, feel free to say so :P

Re: IRC clue-bot (Now with a different poll!)

Posted: January 27th, 2012, 9:55 pm
by Edogawa4869
Awesome job, Ako! \o/

Also, it was Miss Scarlet.

Re: IRC clue-bot (Now with a different poll!)

Posted: January 27th, 2012, 10:39 pm
by Akonyl
well, the bot is (basically) done, with the caveats of "I've only tested against myself", and as the saying goes, any program can pass any test if you were the one who created both, so hopefully there'll be a chance to get some people to test it out sometime soon :P

and by "basically" done, I mean it should hopefully be able to go through a game successfully, but there might be a few bugs/bad spots... hence testing. :V

Re: IRC clue-bot (Now with a different poll!)

Posted: January 27th, 2012, 10:52 pm
by Edogawa4869
Akonyl wrote: well, the bot is (basically) done, with the caveats of "I've only tested against myself", and as the saying goes, any program can pass any test if you were the one who created both, so hopefully there'll be a chance to get some people to test it out sometime soon :P

and by "basically" done, I mean it should hopefully be able to go through a game successfully, but there might be a few bugs/bad spots... hence testing. :V
I SHALL TEST IT.

Re: IRC clue-bot (Now with a different poll!)

Posted: January 27th, 2012, 11:00 pm
by Akonyl
not gonna try to steal people away while mafia stuff's going on :P

Re: IRC clue-bot (Now with a different poll!)

Posted: January 27th, 2012, 11:13 pm
by xpon
poke mafia :P

Re: IRC clue-bot (Now with command explanations!)

Posted: January 28th, 2012, 3:26 am
by Akonyl
First test run went well, no glaring bugs, just a few points of confusion from tired people and people who never played the game before :P \o/

Re: IRC clue-bot (Now with command explanations!)

Posted: January 29th, 2012, 1:02 am
by xpon

Re: Akobo IRC-Bot (Currently: Clue + Murdering)

Posted: February 27th, 2012, 6:54 pm
by Akonyl
Akobo's been updated with !dcmurder, !murder and !akobomurder now for the bored denizens of IRC :V

If you want to see any other stuff beyond murderbotting, feel free to mention it in the thread.