Skip to content

Mash14/Tenzies-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tenzies Game

Tenzies Game

Tenzies Game is a simple dice rolling game built with React and Vite. It challenges players to roll a set of dice and achieve the same number of die within a limited number of rolls and time.

Features

  • Roll the dice and hold the die with the same value until all are the same
  • Track your record time and the number of rolls using localStorage.
  • Celebrate your success with confetti animations
  • Simple and intuitive user interface.

Technologies Used

  • React - A JavaScript library for building user interfaces.
  • Vite - A fast build tool that sets up React projects with instant hot module replacement (HMR).
  • Nanoid - A small, secure, URL-friendly, unique string ID generator for JavaScript.
  • Confetti - A library for creating confetti animations.
  • EasyTimer - A JavaScript timer library.

Installation

  1. Clone the repository:
    git clone https://github.com/Mash14/Tenzies-Game.git
    
  2. Navigate to the project directory:
    cd Tenzies-Game
    
  3. Install the dependencies using npm:
    npm install
    
  4. Start the development server:
    npm run dev
    
  5. Open your browser and visit http://localhost:5173/ to play the game.

How to Play

  • Click on the "Roll" button to roll the dice and accumulate points.
  • Each roll will give the die a new value
  • Click on die with the same value to hold them to avoid them from changing value.
  • Use the limited amount of rolls possible to achieve this.
  • After finishing the game confetti animation will celebrate your achievement.
  • Enjoy the game and try to beat your own records.

Developer's Details

The author of this project was Alan Macharia

Contact information

You can reach the developer by:

Known Bugs

There are no known bugs

License and Copyright information

The license information can be found here: MIT-Lisence

Copyright (c)24/05/2023__Alan Macharia

Acknowledgments

  • The game design and concept were inspired by the traditional dice game Tenzies.
  • The confetti animation is based on the confetti-js library.
    Feel free to modify the content according to your specific project details and requirements.
    

About

It is a Tenzies Game that challenges players to roll a set of dice and achieve the same number of die within a limited number of rolls and time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors