Git Product home page Git Product logo

shufle's People

Contributors

xhergz avatar

Watchers

 avatar  avatar

shufle's Issues

PWA Support

Add the manifest.json file so people can add to their home screen.

Acceptance Criteria:

  • Favicon with 4 card suits on white or coloured squares
  • Use bigger version of favicon with black background for logo/app icon
  • Add manifest file (fullscreen if possible)

Parse game mode and seed from URL

Parse the game mode and seed from the URL. When this is working enable the challenge button for non daily modes.

Acceptance Criteria:

  • The game parses the seed and game mode from the URL (can work independent of each other)
  • The challenge button copies the result and adds a URL to the challenge
  • The challenge button replaces the Share button for non daily modes

Add toast feedback to some actions

Add simple toasts to give feedback for some actions

  • Copying results to clipboard
  • Finishing game (good try, excellent, great, good, etc)

Duplicate guesses are all coloured yellow

When the same value/suit combo is guessed multiple times in one row they all turn yellow when they are in the wrong position even if there is only one.

Expected Behaviour:

  • When you guess a value that is the correct value/suit but in the wrong position it should only turn yellow if
    • The correct position does not have the correct value/suit (i.e. the correct position is not green)
    • The same value/suit is already highlighted yellow and there is not the same amount of duplicates in the answer (i.e. 1 5H in the answer, 2 5H in the guess, only the first 5H guess should be yellow)

Actual Behaviour:

  • All guesses turn yellow

Track stats in local storage

  • Guess data for daily puzzles (guess values)
  • Results for non daily puzzles (# of guesses/incomplete)
  • Meta data (current streak, games played, wins)

Styles aren't applying properly in production

The colour for the icon buttons in the header is needing an important flag, the breakpoints for header icon button sizes aren't being applied, and the padding for the confirmation modal buttons isn't either.

Styles are being applied in a wrong order. Probably need to use MUI styling... Check that lib to replace makeStyles I found.

Incorrect game share text shows 6/6

When you share the result of an complete game with no correct answer the share text shows 6/6.

Expected Behaviour:

  • It should show X/6 when there is no right answer, (# of submissions)/6 when the answer is correct.

Actual Behaviour:

  • It always shows (# of submissions)/6

Make header smaller on mobile

The header is a little tall on mobile and is taking up some space we could use. It's currently 64px I think, maybe try 48px and make the icon buttons smaller.

Migrate to Shufle

Change the name of the game to Shufle

  • Change the repo name
  • Set up the shufle.ca domain (and alpha)
  • Change the name in the app
  • Redirect cardle.cards to shufle.ca (alpha to alpha)
  • Update PWA info (if done)

Improve submission comparison

  • Convert GuessData[] into Card[]
  • Make function to compare either:
    • One card to once card to get a status (considering the full row of guesses and answer)
    • One row of guess Cards to one row of answer Cards to return a row of answers
  • Need tests for this, critical part of the game, needs to be right

Fill in stats dialog

Add more to stats dialog

  • Time to next daily puzzle
  • Current daily puzzle answer (hidden until solved)
  • Room for graph
  • Add slight delay before opening it after finishing a game

Set up production deployment

Set up the GitHub action to deploy to production when pushes are made to master.

  • Set up GitHub action
  • Make sure server is set up for the site

Add analytics to track user actions

  • Perhaps mix panel
  • Could track:
    • How many times people change the game type
    • How many times people reset the game
    • How many times people load the game
    • How many times people finish the game

Improve favicon and icon

  • Make the favicon heart smaller in the white box. It looks bigger than the others.
  • Make the app icon more rounded and a little smaller in the frame to match other apps a little better

Add Hi/Lo and Unique game modes

Add the 2 easiest game modes to code.

  • Hi/Lo is ordering the cards from highest to lowest value (suit doesn't matter or should it matter?)
  • Unique is not allowing 2 cards to have the same value

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.