A Mafia Bot

Discussion in 'Mafia' started by Scatterbrain, Oct 20, 2013.

Thread Status:
Not open for further replies.
Moderators: Pamitha, Water
  1. Scatterbrain

    Scatterbrain You only live once*

    Joined:
    Jul 5, 2012
    Messages:
    865
    Likes Received:
    4
    Me and Rice discussed this briefly and told me it would be a pain in the arse to code, and that there would be no easy way to do this. Now, I'm not saying that I've got the knowledge or expertise to do this, nor do I want to talk to people about developing such (yet at least), but I'm wondering -- would it be practical to have an automated, fully functional Mafia Bot? By this, I mean it talks, it responds, it uses commands. Right now, I'm trying to create a list of things it would need -- nothing too basic, like connecting PRs that have PMed, though that should be pretty easy to print a string. It would obviously need some sort of AI when trying to make rands, and when not to use a command, and when not to vote. Because it isn't human, though, and doesn't have a mind of it's own, I believe it should be immune and unaffected by mutes and mafia bans, if possible.

    List of what is needed:
    [Village oriented]
    The ability to claim villager, or as an important role (inspector).
    The ability to start rands on people who have not PMed.
    The ability to use commands on random people, excluding those who have claimed a village-sided role.
    Use math.Random to figure out who to get rid of when there are multiple claims for one role (e.g., two people claim PL in PM).
    To PM a string of PRs who have also PMed in return.
    To discern (recognize) who has died, and who is still alive.
    To say '~Player~ is clean' or '~Player~ is (insert bad role here).
    To not vote for conspirators, or roles who win with the village, or can join the village.
    [Mafia oriented]
    To claim a PR, get PMs, and send the string of PMs to either a partner or the whole chat.
    [General]
    When a teammate or PR says to vote someone, vote them.

    Will be updated as time goes.
     
  2. Fuzzysqurl

    Fuzzysqurl baa baa mareep I do what I want Server Owner Developer I do what I want Server Owner Developer

    Joined:
    Sep 12, 2012
    Messages:
    2,096
    Likes Received:
    967
    Or you know, we don't have automatic players because that ruins the whole purpose of Mafia being a community game.
     
Moderators: Pamitha, Water
Thread Status:
Not open for further replies.