Pray For Sunrise

Pray for Sunrise is an online interactive gaming lobby where users can join a "game room", play Pray for Sunrise with others, and communicate via chat. The user can join a game with friends online and play as many rounds as desired. This was developed by General Assembly Remote Software Engineer Immersive students (below) known as 'Team Werewolf." This game is based off of Bezier Games' "One Night Ultimate Werewolf", implementing the game logic in Django.

Special Thanks: EatVillagers, Daniel Scott, Connnie Lancaster and David Schawel.

Check out the functioning app here!

Developers

Related Links

Pitchdeck

Trello Board

Technologies and Tools

  • Python
  • Django
  • Heroku
  • PostreSQL
  • intercoolerJS
  • sortableJS

User Stories

  • AAU, I want to see a landing page.
  • AAU, I want to be prompted to login if I am not logged in.
  • AAU, I want to be able to sign up if I do not already have an account.
  • AAU, I want to be able to start a new game.
  • AAU, I want to be able to complete one game and be prompted to start another game.
  • AAU, I want to be assigned a character in a game.
  • AAU, I want to be able to see my character information.
  • AAU, I want to be able to chat with other players as I am playing the game.
  • AAU, I want to be able to only see my character screen whilst other players perform their "nighttime" activities.
  • AAU, I want to be able to vote on which player to execute.
  • AAU, I want to be able to see a timer, so that I know how much time the other players and I have to decide on who to execute and convince other players who to execute
  • AAU, I want to see a screen telling me who won and who lost.
  • AAU, I want to only be able to access a game when I am logged in.

Game Logic

  • Each User is given a card, describing their role. While three cards stay in the center.
  • All players "go to sleep", and thus are unaware of any night activities by players with special abilities.
  • At night, players with special abilities will perform their abilities in a certain order, unbeknownst to other players.
  • Once night is over, players will have a limited amount of time to discuss who may or may not be the werewolf and convince one another to vote for or not vote for a player.
  • When the timer is up, players will casts votes, whoever has the most votes is executed.
  • If everyone voted for a different person, nobody dies.
  • The "Villager" players win when at least one of the werewolves is executed OR if there are no werewolves and no one dies.
  • The "Werewolf" players win when all the werewolves survive, and the "Tanner" player does not die.
  • The "Tanner" player wins if said player dies.
  • The "seer" player wakes during the night once. When the Seer wakes up, and they can either look at a player's card, or 2 cards in the center.
  • the "drunk" player wakes during the night once. When the Drunk wakes up, they exchange their card with a card in the center. They DO NOT get to view their new card.
  • The "troublemaker" wakes during the night once. When the Troublemaker player wakes up, they can switch 2 other player's cards, but does NOT view said cards. Additionally, said player cannot swap their own card
  • The "troublemaker" wakes during the night once. When the Troublemaker player wakes up, they can switch 2 other player's cards, but does NOT view said cards. Additionally, said player cannot swap their own card

ERD

ERD Image

Wireframes

Lobby

Action

Landing

Screenshots

Screenshot of Artwork Screenshot of Artwork Screenshot of Artwork Screenshot of Artwork Screenshot of Artwork Screenshot of Artwork

Screenshot of Artwork Screenshot of Artwork Screenshot of Artwork Screenshot of Artwork Screenshot of Artwork

Biggest Challenges

  • Merging & Debugging
  • Interactive Design
  • Migrations
  • Models and Data Mining
  • Chat Room

Future Improvements

  • Interactive Chat
  • Profile Pictures
  • Comments on Profiles
  • High Score Board
  • Favicon
  • Improved Links