Skip to content

tenzies based on scrimba's tutorial with some modifications

Notifications You must be signed in to change notification settings

AaronoKwok/tenzies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tenzies

A game won by picking up all dice with the same face.

Project Description

Tech stack: HTML5, CSS3, JavaScript, React

Making this gave me an introduction to React Hooks and local storage.

Future feature ideas:

  1. Add 'levels' where player can choose how many dice to play with. Show different scores per level.
  2. Show a list of scores once play ends to depict where player's latest score ranks on list.

How to Play

Game Board

Game Play

Play Game: Tenzies

  1. 'Roll' to roll dice
  2. Click on dice to 'hold' them
  3. Continue rolling and holding until all dice are held with the same value
  4. Can press 'Restart' button at anytime to restart game
  5. Can log score to local storage using the 'Log Score' button. Only the lowest score is shown

Credits

This is a project from a Scrimba React tutorial (Youtube Link) (game tuturial begins at timestamp: 9:51:34) to which I have added the following:

  1. Die faces
  2. Roll counter
  3. Elapsed time
  4. Restart button
  5. Score log button
  6. Current score
  7. Best score stored in local storage

About

tenzies based on scrimba's tutorial with some modifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published