11<!DOCTYPE html>
22< html lang ="en ">
3- < head >
4- < meta charset ="UTF-8 ">
5- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6- < title > Fate of Three</ title >
7- < link rel ="icon " href ="assets/6729598.png ">
8- < link rel ="stylesheet " href ="styles.css ">
9- < link rel ="preconnect " href ="https://fonts.googleapis.com ">
10- < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
11- < link href ="https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Bitcount+Grid+Double:slnt,wght@-3,100..900&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Chokokutai&family=League+Spartan:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Shojumaru&family=ZCOOL+KuaiLe&display=swap " rel ="stylesheet ">
12- < link href ="https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Bitcount+Grid+Double:slnt,wght@-3,100..900&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Chokokutai&family=League+Spartan:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Science+Gothic:wght@100..900&family=Shojumaru&family=ZCOOL+KuaiLe&display=swap " rel ="stylesheet ">
13- </ head >
14- < body >
15- < audio id ="bgaudio " src ="assets/bg_audio.mp3 " loop autoplay > </ audio >
16- < audio id ="victoryaudio " src ="assets/victory.mp3 "> </ audio >
17- < audio id ="loseaudio " src ="assets/lose.mp3 "> </ audio >
18- < h1 > Fate of Three</ h1 >
19- < button id ="musicBtn "> Play Music</ button >
20- < h3 > Choose One:</ h3 >
21- < div class ="choices ">
22- < button class ="rock " onclick ="playGame('Rock') "> 🪨</ button >
23- < button class ="paper " onclick ="playGame('Paper') "> 📃</ button >
24- < button class ="scissor " onclick ="playGame('Scissors') "> ✂️</ button >
25- </ div >
26- < div id ="playerDisplay "> Player : </ div >
27- < div id ="compDisplay "> Computer : </ div >
28- < div id ="resultDisplay "> </ div >
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > Fate of Three</ title >
7+ < link rel ="icon " href ="assets/6729598.png ">
8+ < link rel ="stylesheet " href ="styles.css ">
9+ < link rel ="preconnect " href ="https://fonts.googleapis.com ">
10+ < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
11+ < link href ="https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Bitcount+Grid+Double:slnt,wght@-3,100..900&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Chokokutai&family=League+Spartan:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Shojumaru&family=ZCOOL+KuaiLe&display=swap " rel ="stylesheet ">
12+ < link href ="https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Bitcount+Grid+Double:slnt,wght@-3,100..900&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Chokokutai&family=League+Spartan:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Science+Gothic:wght@100..900&family=Shojumaru&family=ZCOOL+KuaiLe&display=swap " rel ="stylesheet ">
13+ </ head >
14+ < body >
15+ < audio id ="bgaudio " src ="assets/bg_audio.mp3 " loop autoplay > </ audio >
16+ < audio id ="victoryaudio " src ="assets/victory.mp3 "> </ audio >
17+ < audio id ="loseaudio " src ="assets/lose.mp3 "> </ audio >
18+ < h1 > Fate of Three</ h1 >
19+ < button id ="musicBtn "> Play Music</ button >
20+ < h3 > Choose One:</ h3 >
21+ < div class ="choices ">
22+ < button class ="rock " onclick ="playGame('Rock') "> 🪨</ button >
23+ < button class ="paper " onclick ="playGame('Paper') "> 📃</ button >
24+ < button class ="scissor " onclick ="playGame('Scissors') "> ✂️</ button >
25+ </ div >
26+ < div id ="playerDisplay "> Player : </ div >
27+ < div id ="compDisplay "> Computer : </ div >
28+ < div id ="resultDisplay "> </ div >
2929
30- < div class ="scoreDisplay "> Player Score:
31- < span id ="playerScoreDisplay "> 0</ span >
32- </ div >
30+ < div class ="scoreDisplay "> Player Score:
31+ < span id ="playerScoreDisplay "> 0</ span >
32+ </ div >
3333
34- < div class ="scoreDisplay "> Computer Score:
35- < span id ="compScoreDisplay "> 0</ span >
36- </ div >
34+ < div class ="scoreDisplay "> Computer Score:
35+ < span id ="compScoreDisplay "> 0</ span >
36+ </ div >
3737
38- < script src ="index.js "> </ script >
39- < script src ="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.0/dist/confetti.browser.min.js "> </ script >
40- </ body >
38+ < script src ="index.js "> </ script >
39+ < script src ="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.0/dist/confetti.browser.min.js "> </ script >
40+ </ body >
4141</ html >
0 commit comments