Giter VIP home page Giter VIP logo

crazy-eights's People

Contributors

amsardesai avatar edward3h avatar

Watchers

 avatar  avatar

crazy-eights's Issues

sound effects

Sound effects may help people know when events are happening.
Mainly:

  • a card was played
  • a card was drawn

iPhone layout is not wrapping as intended

In the default view on an iPhone (portrait orientation) the hand of 7 cards is rendering in one row that is slightly too wide for the screen, with scroll bars appearing. This is making it harder than it should be to play cards. The cards should be wrapping to fit. (This works on my Android phone)

implement "last card" behaviour

When a player plays their second-to-last card they need to "declare" that they're on their last card. If they don't, another player can challenge. If the challenge is successful, the player on their last card must draw 4 cards.

How to turn this into something that works on the web application? Assume there is a button to "say" "last card", and a button to challenge.

  • The challenge button should show all the time - otherwise it signals to the other players that a challenge is possible.
  • Similarly, the 'last card' button should show all the time, or it signals to the player that they should use it.

move "bugs" link

The "Bugs" link is taking valuable vertical space in the portrait layout - would be good to move it to a footer.

"play again" yes button provides no feedback

If you press the "yes" button on the "play again" screen, it works behind the scenes, but the user doesn't get any feedback that something happened. It could change to something like "waiting for other players"

display mini cards as well as card count of other players' hands

Currently each player's name shows a number next to it which is how many cards they have in their hand.

We'd like to also display a row of miniature card icons under the player's name. This gives an easier read of who is getting close to their last card.

make it easier to join a room

It's not obvious that you need to copy the room url and give it to people to play with.

Could make a field on the home page to enter or paste the code, and something in the room to copy it.

npm audit

There are many outdated packages in this project. Update them... without breaking anything :D

empty or duplicate names break the game, etc. for names

Implement validation for names:

  • not empty
  • max size
  • different from every other name in the room (race condition? But still better than not having it)

Additionally:

  • ability to edit name would be good in case of mistakes
  • name should not be used as a key - create a uuid or similar instead

auto-play on draw is confusing

Current behaviour

  • draw card,
  • if card is playable, automatically play it.

Should be

  • draw card
  • if card is playable, show an option:
  • play card?
  • if yes, play card, if no put it in hand

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.