helenclx / Tenzies-Game

Roll until all dice are the same.

Home Page:https://helenchong.dev/Tenzies-Game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tenzies Game

Roll until all dice are the same.

Play the game here: https://helenclx.github.io/Tenzies-Game/

Project Information

Built with Vite + React.

Based on the Tenzies game tutorial from Scrimba's Learn React course. However, I have made enhancements to the code to improve the app, including:

  • Putting real dots on the dice using CSS
  • Using relative units in CSS
  • Making the app responsive to different screen sizes
  • Adding dice roll count
  • Recording the number of dice rolls and the time it took to win
  • Tracking the best records of dice rolls and time taken to win
  • Improved accessibility: the entire game can be interacted with key presses, along withvisible focus outlines

Running the Project Locally

  1. Clone this repository locally
git clone https://github.com/helenclx/Tenzies-Game.git
  1. Install dependencies
npm install
  1. Run the project
npm run dev
  1. Open http://localhost:5173/Tenzies-Game/ in your browser

Development Dependencies

Credits:

About

Roll until all dice are the same.

https://helenchong.dev/Tenzies-Game/


Languages

Language:JavaScript 59.2%Language:CSS 35.1%Language:HTML 5.7%