Commit Graph

189 Commits

Author SHA1 Message Date
3cd3f41be7 add ranked matchmaking and add elo calculations 2024-10-22 18:43:10 +02:00
648c9e12fa mail are now sent in a thread to not block serveur execution, bots are now limited by the map limits 2024-10-22 16:38:20 +02:00
9164f1a350 add anti cheat on server side 2024-10-22 15:37:57 +02:00
869c00116b GameSettings missing and don't remove player from player list if the tournament is started 2024-10-22 01:49:51 +02:00
a40d886485 add detection when player left the tournament to not start any game, add action 7 to tournaments 2024-10-22 01:42:05 +02:00
1b6b921cbc Site
- request 5-6 ok for tournament
2024-10-20 18:07:45 +02:00
02bd95dceb add time before starting next tournament game, to wait for the player to be back on the tournament page 2024-10-20 15:44:55 +02:00
7e57980c01 server can now send the current state of the tournament 2024-10-19 22:54:24 +02:00
dc2073f6f2 changing eddy's changes (because it's fun), tournaments now detect when it ended 2024-10-16 14:25:16 +02:00
18eed2de28 Serv
- add variable for disable bot movement
Site
    - fix bug with message in end screen game
    - fix dispose for list user in tournament page
2024-10-16 01:33:13 +02:00
57ca83841e add tournament code to win server game request 2024-10-15 13:43:40 +02:00
93da99d559 Game
- remove video when user is on mobile
Site
    - add skin in tournament request
    - fix bug with goal/bar selector
2024-10-14 22:16:00 +02:00
7c0d0eb9b7 fix pfp , goalId, skinId in tournament game start 2024-10-14 20:34:52 +02:00
86b6fe314f add skin, goal and pfp in tournaments start request, add with_bot setting to matchmaking games 2024-10-14 20:11:48 +02:00
8f993caefb add Tournament creation and tournament game start 2024-10-13 22:03:06 +02:00
4663393a25 Site :
- Fix button
2024-10-12 20:45:10 +02:00
7f7bb7457a Site
- add checkbox to play with bot in lobby page
   - fix bug when input for nb bot is null
   - secure request 0 tournament
   - change time to reconnect in websocket
Game
   - fix bug camera when player move up to down or reverse in goal animation
2024-10-12 17:18:39 +02:00
be60de564a Game
- ball trail change color with speed
    = add goal id for opponnent
2024-10-11 11:08:52 +02:00
0b58783565 add goal id and other things idk 2024-10-10 19:46:17 +02:00
ad85a6f712 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
2024-10-10 14:39:04 +02:00
37e4f0b83c bot now hit ball to send it in a random direction and fixed walls when ball is going straight 2024-10-10 02:33:04 +02:00
5945371c5e Site :
- Add skins Gomu, Minecraft, Windows XP
    - Add back arrow in login phone
2024-10-09 20:39:47 +02:00
4407901a4a forgot to replace ball at center, fix map border colisions, fix for ball going straight not working but its a WIP 2024-10-09 09:16:11 +02:00
2046ed4c9a bot now has normal movements, fix colisions when ball is perfectly straight 2024-10-09 09:04:14 +02:00
7be1d3ae9f Site
- fix bug login button
2024-10-08 23:33:12 +02:00
95c8d62e7c Merge branch 'main' of github.com:Kum1ta/PTME_Transcendence 2024-10-08 20:10:14 +02:00
e343fd57a3 Game
- fix english
    - add pfp on scoreboard
2024-10-08 20:10:08 +02:00
2853c771a9 Site :
- Fix some bugs on all responsive front
2024-10-08 19:23:09 +02:00
7401ea3c17 bot can now calculate where the ball is going to hit it's side 2024-10-08 10:51:22 +02:00
dce6e71a11 Merge branch 'main' of github.com:Kum1ta/PTME_Transcendence 2024-10-07 16:35:19 +02:00
d40d62ef29 update 2024-10-07 16:35:11 +02:00
8cc46036e4 change server ball movements to a Ball class 2024-10-06 17:43:03 +02:00
73b5dc7323 change server to not depend on real time to calculate ball position and movements 2024-10-06 17:43:03 +02:00
bcb10e8a36 Site/Game
- fix somes bugs
2024-10-06 16:25:45 +02:00
58ae534e57 Site
- Add responsive :
     - Lobby page
     - Fix bug profil/login/settings'
2024-10-05 23:50:34 +02:00
667d5141dc Site
- Add responsive :
     - Lobby page
     - Fix bug profil/login/settings'
2024-10-05 23:49:39 +02:00
66fbfc2bc7 add bot, move player variables to a player class(might have broke some things idk) 2024-10-05 04:31:18 +02:00
d8284b78e2 Site
- can send message in tournament
    - request 3 server tournamment
Game
    - change buttons position on multi online
2024-10-05 04:30:20 +02:00
64346413c3 fix sendMessage method 2024-10-05 03:31:14 +02:00
3f2f7c7d5f add send message tournament request 2024-10-05 03:28:48 +02:00
4a8825edf1 fix send all info 2024-10-05 02:58:23 +02:00
4e3ba36416 add tournament request to server(not complete) 2024-10-05 02:40:28 +02:00
0200a360e9 Game
- add vr support
    - add gamepad support and vr controller (only in vr for that)
2024-10-05 01:09:29 +02:00
975763d20f add client side colisions to reduce lag(add debuging, ball is white when client is predicting movement) 2024-10-04 00:17:25 +02:00
6484969e4b Site
- update lobby page style
    - fix some bugs on lobby page
2024-10-04 00:08:21 +02:00
88d2243f86 Site
- Fix last PTME footer
    - NEW select game mode (need to fix EDDY PART)
2024-10-03 20:26:09 +02:00
909104ce87 Site/Game
- goal selector finish | waiting for server
2024-10-03 14:51:07 +02:00
b072b6979f Site
- buttons US FR working
    - if someone is in waitingpage and receive his opponent has left tournament, redirect to tournament page
2024-10-03 01:33:22 +02:00
d3fcde1f0b Site
- Add real text to game mode
    - Add WASD ZQSD select (front)
2024-10-02 22:10:07 +02:00
aab0b9397c Site
- add new request for start game in tournament
    - fix some bug with style
2024-10-02 13:50:54 +02:00