I was recently at a robotics conference where every night a large group of students would play Mao(a card game) together. I've started to really like it so I decided to write an IRC bot to let me play it. It is currently running on efnet and OmniNET in #omnimaga-games and supports OmnomIRC also
It currently does just the basics required of a bot and should be ready for release
Here is what it currently does
Command List
!join for joining a game
!call <target> <rule> for calling someone on breaking a rule
-wrong/bad card or out of turn gives someone their card back and gives them another card
-wrong/bad call reverses the last call by target and gives them a card
!view pm's you with your current hand
!quit has you leave the current game
!play <number> of <suit> plays that card. It is case sensitive
!draw gives you a card
!start creates a new game
!order the order of players by join time
!count <target> tells you how many cards the player has left
!countAll tells you how many cards each person in the game has left
It will also shuffle in a new deck if it starts running out of cards so you can always continue play(hopefully)
Please join, play, have fun, and offer suggestions for further improvement and bug fixes.
code is hosted on github at
https://github.com/ruler501/maobotEDIT: Polished up first post