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.
main_incorrect.js
: Contains the game logic with intentional logical errors.
- Ensure you have a basic HTML file set up with two image tags and an
h1
element. - Link
index.js
in your HTML file. - Open your HTML file in a web browser to see the game.
Your task is to identify and fix the logical errors in index.js
. Here are some hints:
Best of luck!