From 6e0bdc8d2a125a1eacb6a692c278ff43009b244c Mon Sep 17 00:00:00 2001
From: Anas Bashir <55910194+an4s911@users.noreply.github.com>
Date: Fri, 28 Jul 2023 13:55:08 +0300
Subject: [PATCH] Small changes for the game rules
---
index.html | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/index.html b/index.html
index ba3aff4..baddb6a 100644
--- a/index.html
+++ b/index.html
@@ -79,10 +79,13 @@
Rules for the Computer's Turn:
- The computer rolls the dice automatically and follows the same rules as you.
- - If the computer rolls a 1, its current turn score resets to 0, just like yours.
- - If the computer rolls two 1's, its total score resets to 0, and its turn ends.
+ - If the computer rolls a 1, its current turn score resets to 0, just like yours. If the computer
+ rolls two 1's, its total score resets to 0, and its turn ends.
- The computer has a strategic advantage: if it reaches a current turn score of 20 or more, it turns
over its dice, adding the turn score to its total score, and then continues its turn.
+ - The game ends immediately if the computer's total score reaches 100 or more, and the computer
+ emerges as the winner.
+
Get ready for a fun and competitive gaming experience with DiceGame!