Akobo IRC-Bot (Currently: Clue + Murdering)

The home to DCTP Forum Mafia as well as any other type of random forum game that you can conjure up.

Who's the real culprit?

Scarlet
4
22%
Mustard
5
28%
White
3
17%
Green
1
6%
Peacock
3
17%
Plum
2
11%
 
Total votes: 18
Akonyl
Community Hero

Posts:
4200

Akobo IRC-Bot (Currently: Clue + Murdering)

Post 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?
Last edited by Akonyl on February 27th, 2012, 6:53 pm, edited 1 time in total.
User avatar
Conia
Yurikochan's Husband
Conan Shuuichi

Posts:
5194

Re: IRC clue-bot

Post by Conia »

Voted Real Board, and I wish to play Clue now.
Image
User avatar
Edogawa4869
GUESS WHO, MAAAAAAAAAAAAAAAAAAAAAAAAAAAN

Posts:
128

Re: IRC clue-bot

Post by Edogawa4869 »

Conia wrote: Voted Real Board, and I wish to play Clue now.
^
Yugi Moto wrote:Oh, shipping is where you take two characters from a T.V. show, who aren't romantically involved in any shape or form, and then you force them to become a lesbian couple by drawing vivid and gratuitous fan art of them for about six months, before you move on to some other show. Lather, rinse, repeat.
Akonyl
Community Hero

Posts:
4200

Re: IRC clue-bot

Post by Akonyl »

oh hey, someone who isn't me voted for the simple option :O
User avatar
Raiden
There is a world of imagination
Deep in the corners of your mind
Where reality is an intruder
And myth and legend thrive

Posts:
662

Re: IRC clue-bot

Post by Raiden »

Akonyl wrote: oh hey, someone who isn't me voted for the simple option :O
Guilty. o/

:-X
“Tea is the magic key to the vault where my brain is kept.” ― Frances Hardinge
“If you are cold, tea will warm you;
if you are too heated, it will cool you;
If you are depressed, it will cheer you;
If you are excited, it will calm you.”
― William Ewart Gladstone

Image
User avatar
Kleene Onigiri
Community Rice Warrior
*punches Akonyl*

Posts:
2479

Re: IRC clue-bot

Post by Kleene Onigiri »

Ako option *beeps ako*
Image
Keyhole drawn by Yuri Iwamoto <3
Spoiler: Secret Santa gift from Commi-Ninja <3
A Black Organization Christmas Carol (need to fix the link)
3DS Friend Code: 4141 3202 3514

༼ つ ◕_◕ ༽つ Giff holidays
Akonyl
Community Hero

Posts:
4200

Re: IRC clue-bot

Post 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
User avatar
Edogawa4869
GUESS WHO, MAAAAAAAAAAAAAAAAAAAAAAAAAAAN

Posts:
128

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

Post by Edogawa4869 »

Awesome job, Ako! \o/

Also, it was Miss Scarlet.
Yugi Moto wrote:Oh, shipping is where you take two characters from a T.V. show, who aren't romantically involved in any shape or form, and then you force them to become a lesbian couple by drawing vivid and gratuitous fan art of them for about six months, before you move on to some other show. Lather, rinse, repeat.
Akonyl
Community Hero

Posts:
4200

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

Post 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
User avatar
Edogawa4869
GUESS WHO, MAAAAAAAAAAAAAAAAAAAAAAAAAAAN

Posts:
128

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

Post 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.
Yugi Moto wrote:Oh, shipping is where you take two characters from a T.V. show, who aren't romantically involved in any shape or form, and then you force them to become a lesbian couple by drawing vivid and gratuitous fan art of them for about six months, before you move on to some other show. Lather, rinse, repeat.
Akonyl
Community Hero

Posts:
4200

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

Post by Akonyl »

not gonna try to steal people away while mafia stuff's going on :P
User avatar
xpon
Community Sepll Chkecer
Spreading the cuteness, all over DCTP

Posts:
5848
Contact:

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

Post by xpon »

poke mafia :P
xpon is so cute...
Image                         Image
Even Ayumi~chan and Sera~chan love to hug him.....
Thanks to sonoci & Yuri
Akonyl
Community Hero

Posts:
4200

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

Post 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/
User avatar
xpon
Community Sepll Chkecer
Spreading the cuteness, all over DCTP

Posts:
5848
Contact:

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

Post by xpon »

xpon is so cute...
Image                         Image
Even Ayumi~chan and Sera~chan love to hug him.....
Thanks to sonoci & Yuri
Akonyl
Community Hero

Posts:
4200

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

Post 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.
Post Reply