add tournament request to server(not complete)

This commit is contained in:
2024-10-05 02:40:15 +02:00
parent 0200a360e9
commit 4e3ba36416
16 changed files with 238 additions and 45 deletions

View File

@ -172,11 +172,6 @@ function startTournmament()
{
const code = document.getElementById('tournamentCode').value;
if (code.length != 6 && code.length != 0)
{
CN.new("Information", "The code must be 6 characters long or empty");
return ;
}
sendRequest("tournament", {action: 0, code: code});
}