Giter Site home page Giter Site logo

room4o4 / pictionary Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 3.23 MB

Pictionary platform for handling thousands of users online

License: MIT License

HTML 2.47% CSS 7.37% JavaScript 90.09% Shell 0.07%
game hacktoberfest node pictionary react socket

pictionary's People

Contributors

dependabot[bot] avatar existentialcoder avatar mahadevans87 avatar sampathblam avatar shwethapadhu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pictionary's Issues

Initial feedback

  • getting stuck while drawing ( not smooth)
  • need to know who is drawing (list la hightlight)
  • last word
  • add sound
  • in last round - previous word is not shown
  • gets boring after some time
  • words getting repeated
  • stop after all has guessed
  • fix log window
  • tell user if word is close
  • cache username and go in
  • give hint as time goes
  • num words, some letters
  • kick someone out from room (votekick) idle
  • The ability to create, view and join rooms

Canvas is disabled in mobile for the first round

Steps to reproduce when there are two players in total:

  1. Launch pictionary in mobile first as Player 1
  2. Launch pictionary in a PC/mobile as the Player 2.

Now it would be the turn of Player 1 to draw. But the canvas is not enabled and the Player 1 is not able to draw in Mobile.

Note: This does not get reproduced,

  1. If Player 1 uses PC and Player 2 uses mobile
  2. If both Player 1 and Player 2 use PC.

Setup application as a PWA

PWA Checklist

Fast and reliable

  • Page should be fast enough on mobile networks
  • Respond with a 200 when offline
  • start_url should respond with a 200 when offline.

Installable

  • Use HTTPS
  • Register a service worker that controls page and start_url
  • Web app manifest should meet the installability requirements

PWA Optimized

  • Redirect HTTP traffic to HTTPS
  • Configure for a custom splash screen
  • Set a theme color for the address bar.
  • Content should be sized correctly for the viewport
  • Has a tag with width or initial-scale
  • Contains some content when JavaScript is not available
  • Provide a valid apple-touch-icon
  • Manifest should have a maskable icon

Validate these against an Audit check in Google Chrome Developer tools for a PWA

Gameplay cleanup

  1. When a user logs in, send him current Game state additional params like Round Info, Total Rounds, winner depending on the current state of the game.
  2. Sort User scores
  3. Check for Tie in user score. If 0 is the score, no winner, else those who are tied in top spot are winners
  4. Update more

Animate game states

Animate in between game states

  1. Waiting for players
  2. Waiting for new round
  3. Announce Winner(s)

Have some sort of a CSS animation or GIF

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.