Code Monkey home page Code Monkey logo

react-yahtzee's Introduction

Welcome to React Yahtzee!

Current Release: v1.1

What's new in 1.1

  • Modals now exist to help the user. If a user clicks on the score table before they have completed all their rolls for the turn, or if the cell they click will score a zero and there are other cells that could register a non-zero score, a modal will pop up to advise them.
  • Game Restart now exists. When a game ends the roll button will switch to a 'new game' button. Clicking it will reset the scorecard and dice to a starting position.
  • A few styling changes were applied to make the game look and feel a lil nicer :)

If you would like to run the game locally

...clone the repository, navigate to the directory containing the repository and run

npm install

Then run

npm start

Open a browser and navigate to localhost:3000 to play the game!

Responses, feedback, and contributions related to React Yahtzee are welcomed. Future releases will include improved user interface and a database of high scores. For a related project, please see my Yahtzee Probability Calculator (written in Ruby), also on GitHub. Happy rolling!


(Yahtzee is owned by Hasbro. This open-source project is made for educational purposes and is not endorsed by or affiliated with Hasbro.)

react-yahtzee's People

Contributors

dsmcclain avatar

Watchers

 avatar

Forkers

donyorm

react-yahtzee's Issues

Problems executing npm

Hi, I'm trying to clone your repository to use it as a basis for a Prolog course students project (I want them to build a player using Prolog and ProbLog), but when I try to start the project, I get the following error:

error:0308010C:digital envelope routines::unsupported

I've found this answer in stack overflow, but I am no Node.js programmer and I do not know how to solve it.

It is possible to update your code to fix this?

Thanks in advance
guillermo

give roll button features

roll button should have:

  • A counter stating how many rolls

  • A 'new turn' after three rolls

  • There should be an output window that describes the results of each turn

update dependencies

remove unneeded development dependencies
update dependencies with security vulnerabilities

redesign layout using CSS grid to make the app more responsive

This app is currently not playable on smaller screens or mobile.

I see this issue having a few different steps:

  1. mock up a layout where the dice, roll button, and scorecards might actually make sense on a mobile device
  2. break up the and components so that they can conform to the mock up
  3. rebuild the layout using CSS grid, taking advantage of auto-fit and minmax properties

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.