This is a simple game where you have to guess the fruit name which is only five letters long. You have 3 chances to guess the fruit name. If you guess the fruit name correctly, you will win the game. If you fail to guess the fruit name, you will lose the game. You can play the game as many times as you want. A live version is hosted at https://fruit-guessing-game.vercel.app/
- Come up with a fruit name
- Enter each fruit letter in the input box's (note only one letter go in a box)
- Press "Guess" or enter to submit your guess
- You have up to 3 attempts to get the guess correct to win. Good luck 🎉
- Clone the repository
- Open the terminal and navigate to the project folder
- Run "npm ci" command to cleanly install the dependencies (this will respect the dependencies versions in the package-lock.json file)
- Run "npm run dev" command to start the game (this will start the game in the development mode)
- Open http://localhost:3000 to view it in the browser