Site
- change button on tournament page - add input for nb bot for tournament in lobby page - add nb in request 0 tournament Game - remove some dev input - add pub
This commit is contained in:
@ -195,6 +195,8 @@
|
||||
<p style="text-align: center; margin-bottom: 20px;">Tournament code</p>
|
||||
<input id="tournamentCode" class="search-input" type="text" placeholder="Enter the tournament code (empty for create one)">
|
||||
<span class="line" id="tournament-line2"></span>
|
||||
|
||||
<input type="number" id="nbBot" class="search-input" placeholder="Number of bots (1-7 | default 0)">
|
||||
</div>
|
||||
<div class="skin-select">
|
||||
<div class="barSelection" id="bar2">
|
||||
|
@ -113,8 +113,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<div class="buttonStartGame">
|
||||
<p>Start</p>
|
||||
<div class="buttonStartGame" id="quitButton">
|
||||
<p>Quit</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6,7 +6,7 @@
|
||||
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2024/10/01 13:16:39 by edbernar #+# #+# #
|
||||
# Updated: 2024/10/05 02:33:45 by tomoron ### ########.fr #
|
||||
# Updated: 2024/10/10 13:26:17 by edbernar ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -48,6 +48,7 @@ from .tournamentActions.fetchAllData import fetchAllData
|
||||
#client actions (actions sent by the client) :
|
||||
# 0 : start : start a tournament. if code == "", create a new tournament, else join the tournament with the code
|
||||
# - code : code of the tournament
|
||||
# - nbBot : number of bot in the tournament
|
||||
#
|
||||
# 1 : leave : leave the tournament
|
||||
#
|
||||
|
@ -25,7 +25,7 @@ urlpatterns = [
|
||||
path("multiOnlineGamePage", views.multiOnlineGamePage, name='multiOnlineGamePage'),
|
||||
path("waitingGamePage", views.waitingGamePage, name='waitingGamePage'),
|
||||
path("profilPage", views.profilPage, name='profilPage'),
|
||||
path("game", views.game, name='game'),
|
||||
# path("game", views.game, name='game'),
|
||||
path("wait_game", views.game, name='wait_game'),
|
||||
path("tournament", views.tournament, name='tournament'),
|
||||
path("login42", views.login42, name='login42'),
|
||||
|
Reference in New Issue
Block a user