Skip to content

Commit 8f6c753

Browse files
authored
Updated dice.js
1 parent f9aefb1 commit 8f6c753

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dice.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ button.addEventListener("click", function(){
2222
else if(r1[4] == r2[4]){
2323
head.textContent = "It's a tiee"
2424
}
25-
});
25+
else
26+
{
27+
head.textContent ="Game has ended"
28+
}
29+
});

0 commit comments

Comments
 (0)