11
11
</ head >
12
12
13
13
< body class ="ui-cookie ">
14
- <!---
14
+
15
15
< audio id ="splash " preload ="auto " loop >
16
16
< source src ="./src/audio/start.mp3 " type ="audio/mp3 ">
17
17
</ audio >
@@ -29,11 +29,11 @@ <h1>Click...</h1>
29
29
< h1 class ="title ">
30
30
< i class ="fas fa-cookie-bite "> </ i > Cookie
31
31
</ h1 >
32
- <div class="menu-buttons">
33
- <button id="play">
32
+ < div class ="menu-buttons ">
33
+ < button id ="play " data-bs-toggle =" modal " data-bs-target =" #settings-game-start " >
34
34
< i class ="fas fa-gamepad "> </ i > Jogar
35
35
</ button >
36
- <button id="shop">
36
+ <!--- < button id="shop">
37
37
<i class="fas fa-store"></i> Loja
38
38
</button>
39
39
<button id="stats">
@@ -44,15 +44,82 @@ <h1 class="title">
44
44
</button>
45
45
<button id="help">
46
46
<i class="fas fa-question-circle"></i> Ajuda
47
- </button>
47
+ </button>-->
48
48
</ div >
49
-
50
49
</ start-screen >
51
- style="display: none !important;"
52
- -->
53
-
54
-
55
- < ui class ="d-flex flex-column justify-content-center align-items-center text-center vh-100 ">
50
+
51
+
52
+ <!-- Botão para abrir o modal -->
53
+ < button type ="button " class ="btn btn-primary position-fixed bottom-0 start-50 translate-middle-x mb-4 " data-bs-toggle ="modal " data-bs-target ="#settingsModal ">
54
+ Escolher Personagem
55
+ </ button >
56
+
57
+ <!-- Modal -->
58
+ < div class ="modal fade " id ="settingsModal " tabindex ="-1 " aria-labelledby ="settingsModalLabel " aria-hidden ="true ">
59
+ < div class ="modal-dialog ">
60
+ < div class ="modal-content ">
61
+ < div class ="modal-header ">
62
+ < h5 class ="modal-title " id ="settingsModalLabel ">
63
+ < i class ="fas fa-cog "> </ i > Configurações</ h5 >
64
+ </ div >
65
+ < div class ="modal-body ">
66
+ < div class ="mb-3 ">
67
+ < label for ="nickname " class ="form-label "> Nickname:</ label >
68
+ < input type ="text " class ="form-control " id ="nickname " placeholder ="Digite seu Nickname ">
69
+ </ div >
70
+
71
+ < div class ="mb-3 ">
72
+ < label for ="character " class ="form-label "> Escolha seu Personagem:</ label >
73
+ < div id ="characterSelect ">
74
+ < div class ="character-option " data-character ="cookie1 ">
75
+ < img src ="https://example.com/cookie1.png " alt ="Biscoito 1 ">
76
+ < span > Biscoito 1</ span >
77
+ </ div >
78
+ < div class ="character-option " data-character ="cookie2 ">
79
+ < img src ="https://example.com/cookie2.png " alt ="Biscoito 2 ">
80
+ < span > Biscoito 2</ span >
81
+ </ div >
82
+ < div class ="character-option " data-character ="cookie3 ">
83
+ < img src ="https://example.com/cookie3.png " alt ="Biscoito 3 ">
84
+ < span > Biscoito 3</ span >
85
+ </ div >
86
+ < div class ="character-option " data-character ="cookie4 ">
87
+ < img src ="https://example.com/cookie4.png " alt ="Biscoito 4 ">
88
+ < span > Biscoito 4</ span >
89
+ </ div >
90
+ < div class ="character-option " data-character ="cookie5 ">
91
+ < img src ="https://example.com/cookie5.png " alt ="Biscoito 5 ">
92
+ < span > Biscoito 5</ span >
93
+ </ div >
94
+ < div class ="character-option " data-character ="cookie6 ">
95
+ < img src ="https://example.com/cookie6.png " alt ="Biscoito 6 ">
96
+ < span > Biscoito 6</ span >
97
+ </ div >
98
+ </ div >
99
+ </ div >
100
+
101
+ <!-- Novo campo para código da sala -->
102
+ < div class ="mb-3 ">
103
+ < label for ="roomCode " class ="form-label "> Código da Sala:</ label >
104
+ < input type ="text " class ="form-control " id ="roomCode " placeholder ="Digite ou crie um código da sala (opcional) ">
105
+ </ div >
106
+
107
+ < div class ="mb-3 ">
108
+ < label for ="time " class ="form-label "> Tempo da Sala (em minutos):</ label >
109
+ < input type ="number " class ="form-control " id ="time " placeholder ="Tempo em minutos " min ="1 " max ="60 ">
110
+ </ div >
111
+ </ div >
112
+ < div class ="modal-footer ">
113
+ < button type ="button " class ="btn btn-secondary " data-bs-dismiss ="modal "> Fechar</ button >
114
+ < button type ="button " class ="btn btn-primary " id ="startGameBtn "> Iniciar Jogo</ button >
115
+ </ div >
116
+ </ div >
117
+ </ div >
118
+ </ div >
119
+
120
+
121
+
122
+ < ui style ="display: none !important; " class ="d-flex flex-column justify-content-center align-items-center text-center vh-100 ">
56
123
57
124
< div class ="room-code position-fixed top-0 start-50 translate-middle-x mt-4 ">
58
125
< h3 > < i class ="fas fa-key "> </ i > Código da Sala:</ h3 >
0 commit comments