Skip to content

jyang81/pictionary-react

Repository files navigation

React Pictionary

React Pictionary is a realtime multiplayer drawing game. One person draws while other players guess. Once a player guesses the word correctly, both drawer and guesser will be awarded a win, and the game will end. Currently, only one game can be in progress at a time, but anyone can join the game while in progress.

Screenshot
Live site is hosted at https://react-pictionary.herokuapp.com

How to play:

  1. Log in with username

  2. The first person to click "Create Game" will be the drawer for that game.

  3. Other players can click "Join Game" to guess what the drawer is drawing.

  4. The drawer will get a random word and draw it until someone guesses correctly.

  5. Once a correct guess has been made, the Host will announce the winner and that user will get a point, as well as the drawer.

  6. Guesses must be spelled correctly, but are not case-sensitive

  7. The game will end once a word is guessed correctly, and another user can have the chance to draw by clicking the "Create Game" button. Note: Currently, game will only end once the word has been guessed correctly, even if all users log out.

  8. This can continue until players decide to quit.

  9. We have fixed a lot of the bugs, but we know there are still some left. If the server is down (i.e. you can't log in), please submit an issue, and one of us will try our best to resolve it. We've noticed that whenever there is a Redis update, it crashes, but we have found a fix that is easy to implement.

Future updates:

  • Automatically assign the drawer to the next person in the game
  • Add a timer for each round
  • Leaderboard
  • Display wins next to name in player list
  • Improve drawing tools (slider for brush size/clickable color picker)
  • Add instructions to home page
  • Display current players list
  • Undo button
  • Add more words
  • Add 'skip word' option
  • Add 'end game' button
  • Make mobile friendly

Technologies used:

  • React (front end)
  • Rails (back end)
  • Canvas (drawing)
  • ActionCable (realtime drawing and chat)
  • JWT (authorization)
  • Semantic UI (styling)

Link to backend repo:

https://github.com/jyang81/pictionary-rails

Credits

created by:

Joe Yang (@jyang81)
Jon Langkammer (@ConditionalStatementLifestyle)


This project was bootstrapped with Create React App.

About

An Online Multiplayer Realtime Pictionary Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages