Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 634 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 634 Bytes

Dice Game

Welcome to the Dice Game! In this project, two players roll a dice, and the player with the higher roll wins. This version of the code contains logical errors to challenge you.

Project Structure

  • main_incorrect.js: Contains the game logic with intentional logical errors.

How to Run

  1. Ensure you have a basic HTML file set up with two image tags and an h1 element.
  2. Link index.js in your HTML file.
  3. Open your HTML file in a web browser to see the game.

Challenge

Your task is to identify and fix the logical errors in index.js. Here are some hints:

Best of luck!