Skip to content

abulyousuf/tenzies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tenzies

Dice game built with React.

Features:

  • Generating array of 10 random numbers and converting to array of objects
  • Mapping array to dynamically create 10 instances of presentational component
  • Using React state to add interactivity
  • Adding third party package nanoid as dependency to generate unique id for each instance
  • Syncing two different internal states together
  • Set winning conditions
  • Used conditional rendering
  • Used React Confetti package for drawing confetti