diff --git a/srcs/requirements/svelte/api_front/src/pages/game/Game.Luke.svelte b/srcs/requirements/svelte/api_front/src/pages/game/Game.Luke.svelte deleted file mode 100644 index dd096e4c..00000000 --- a/srcs/requirements/svelte/api_front/src/pages/game/Game.Luke.svelte +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - -{#if optionsAreNotSet} -
-
-
- game options -
- - -
-
- - -
-
- - - - - - -
-
- -
-
-
-
-
-

--- keys ---

-

move up: 'w' or 'up arrow'

-

move down: 's' OR 'down arrow'

-

grid on/off: 'g'

-
-{/if} - -
- -
- - - diff --git a/srcs/requirements/svelte/api_front/src/pages/game/Ranking.svelte b/srcs/requirements/svelte/api_front/src/pages/game/Ranking.svelte new file mode 100644 index 00000000..b45a42ac --- /dev/null +++ b/srcs/requirements/svelte/api_front/src/pages/game/Ranking.svelte @@ -0,0 +1,368 @@ + + + +
+ + +
.
+ + {#if showError === true} +
+
+ Error +

{errorMessageWhenAttemptingToGetATicket}

+ +
+
+ {/if} + + {#if showWaitPage === true} +
+
+ Connecting to the game... +

{waitingMessage}

+
+
+ {/if} + + + +{#if optionsAreNotSet} + {#if showGameOption === true} +
+
initGame()}> +
+ +
+ game options +
+ + +
+
+ + +
+
+

sound :

+ + + + +
+
+ + +
+ {#if isSomeoneIsIvited === true} + + {/if} +
+ +
+
+
+ +
+
+ {/if} + + {#if showInvitations} +
+
+ +
+ Current invitation(s) + {#if isThereAnyInvitation} + {#each invitations as invitation } +
+ {invitation.playerOneUsername} has invited you to play a pong ! + + +
+ {/each} + {/if} + {#if isThereAnyInvitation === false} +

Currently, no one asked to play with you.

+ + {/if} +
+
+
+ {/if} +{/if} + + + +
+ +
+ + + + + +