Great Android Mafia game

Author: Grace Pan, Bozhao(Joshua) Li, Tian Chen, Casey Zhu
Version: 2.0.0 SDHacks 2016

Layout

  • At beginning: create or join, storyteller makes game, get code, gives it to everyone else
  • storyteller can see what role everyone has.
  • mafia can see who mafia are
  • villagers and doctors and detectives blind
  • voting (anonymous?)
  • stages: storyteller chooses when to move onto next stage
  • check win condition at end of day
  • mafia chatroom
  • role description constantly on your screen or help button you can pull up at any time that explains rules of game + role description
  • stages: storyteller chooses when to move onto next stage
  • check win condition at end of day
  • mafia chatroom
  • role description constantly on your screen or help button you can pull up at any time that explains rules of game + role description

Workflow

  • flow of game: home screen > confirmation screen for game to begin > random role generator > night (sleep, mafia, sleep, doctor, sleep) > day (murder, discussion, voting) > repeat last two > game end
  • home screen: option to create game or join game, storyteller creates game, enters number of players and number of mafia/doctors/detectives, receives code, join game requires input of a code, players require name input but narrator does not
  • waiting screen: increasing counter for new members joining, all members in current game can see members in game, when number of players reaches the specified number the game automatically starts

Role

  • role generator: each person gets randomly assigned one, a description of the role is shown beneath name of role (this description can later be pulled up from a help menu)
  • night: storyteller can observe everything that’s happening. is alerted once decision is made. has a “move on” button to advance story (maybe unnecessary?) and gives vocal cues to let others know when story has moved on.
  • characters not currently awake have a dark screen with some text, if they wake up the screen lights up with whatever
  • starts with mafia: mafia chatroom opens up, after discussion can choose victim via player select thing
  • doctor: screen lights up, wakes up, chooses who to save via player select thing, after choice is made screen dims again
  • detective: screen lights up, wakes up, chooses who to investigate via player select, after choice is made screen dims again
  • narrator: is a spectator of the mafia chatroom but can’t say anything, sees the choices made by doctor/detective, concludes night
  • day: storyteller tells the story, people discuss
  • voting system: people select who they think the mafia is via player select thing
  • narrator can see who chooses who, narrator delivers story, narrator has option to advance story to night if game not finished
  • game end
  • narrator tells story, screen either displays “WIN” or “LOSE” or something (it can maybe come up at the narrator’s choice so they can time it better / more suspense?) ## Extra
  • extra features, notes on each person, quick checks/icons to mark thoughts
  • extra feature: more roles
  • extra feature: random story ideas, generator if they don’t know what to say
  • extra: trophy, count wins, win/loss ratio, amount played, amount as storyteller, feedback system: good narrator
  • extra: more narrators
  • friend system
  • abort game option
  • Server Interactions
  • Beginning- IP + port code is sent
  • VotingReference

Built With

Share this project:

Updates