Skip to content

A react app for simple dice game. (This app requires the API to be working. API link is in the description)

License

Notifications You must be signed in to change notification settings

Cesurhan/dice-ui

Repository files navigation

Dice-ui

A react app to chat, create game rooms and play a simple dice game. This API requires dice-ui to be working. This project is using shut-up-ui as base project.

screen shot 2017-05-05 at 17 20 38

Steps

These are the steps I followed when working on this app:

  1. Setting up project
  2. Adding JoinGame
  3. Adding player limitation
  4. Displaying winning number
  5. Adding throw dice
  6. Announcing the winner

Database Structure

  1. User
  • name:string
  • email:string
  • password:string
  • gravtar:string
  1. Message
  • text:string
  • author:string
  1. Game
  • title:string
  • winningNumber:integer
  • playerIds:array
  • isWinner:boolean
  • thrownDice:integer
  • winnerName:string

Running Locally

Make sure you have NodeJS and npm installed.

git clone [email protected]:Cesurhan/dice-ui.git
cd dice-ui
npm install
npm start
open https://localhost:3000

Related documentation

For more information about using React and Redux, see these links:

About

A react app for simple dice game. (This app requires the API to be working. API link is in the description)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published