Commit Graph

627 Commits

Author SHA1 Message Date
9e9c063362 ball now bonces on walls (any side for now) 2024-09-18 18:09:12 +02:00
a93e713f44 Site
- some change in css
2024-09-18 14:26:48 +02:00
f3bbf498ca Site :
- Add notification chat
    - Add Home back button on lobby
2024-09-18 12:22:08 +02:00
5275f8f033 Site
- websocket try to reconnect when it disconnected
    - add function on search bar in lobby page for search user
Django
    - add request search user to find someone in database and return a list
2024-09-18 09:22:52 +02:00
d4e6c8e30e Site
- add video "please login" when mouseover play button
Nginx
    - remove some useless files
2024-09-18 06:29:21 +02:00
1381009e1d Site :
- Fix cross button chat to a real cross
    - Fix top bar lobby
2024-09-18 01:50:40 +02:00
dbbecc2232 Site
- disable cha when user is not connected
2024-09-17 23:21:51 +02:00
965b27426e Site
- add button (same as login in home page) in lobby page with menu
2024-09-17 22:47:52 +02:00
9491d795bf Site :
- Fix but not finished lobby page
    - Add Button nav bar functionality
2024-09-17 20:54:15 +02:00
53441d4785 merge 2024-09-17 18:02:35 +02:00
a5b2bb95a8 Site
- add scroll function
2024-09-17 16:54:22 +02:00
7a49159282 re fix Game.py syntax 2024-09-17 15:18:34 +02:00
a103f09da7 fix syntax Game.py 2024-09-17 15:16:45 +02:00
5668d338b6 Site
- Add function for move ball
    - add function for quit when opponent disconnect
2024-09-17 15:16:42 +02:00
2a42646b82 add ball move request to client 2024-09-17 14:45:03 +02:00
522f4f602a Site :
- Fix "REGISTER" to "Register"
    - Fix "NEWS" to "AUTHORS"
    - Fix Chat Button to icon (No notifications)
    - Fix not center title on login and register screen
2024-09-17 14:28:57 +02:00
e4cebd99df add leave request when the opponent leaves the game 2024-09-17 12:55:01 +02:00
c199812a5d Site
- Add smoothing movement for opponent
Django
    - invert pos in move request
2024-09-17 00:25:36 +02:00
12b33d0ee4 Site
- multiplayer move
2024-09-16 15:52:38 +02:00
cbf665b837 Merge branch 'main' of github.com:Kum1ta/PTME_Transcendence 2024-09-16 14:33:12 +02:00
ed8d211050 add is_opponent to move request 2024-09-16 14:31:01 +02:00
f60113dac5 Merge branch 'main' of github.com:Kum1ta/PTME_Transcendence 2024-09-16 14:22:03 +02:00
ea9bff1382 fix small errors in move requests 2024-09-16 14:21:49 +02:00
000766d4cc Merge branch 'main' of github.com:Kum1ta/PTME_Transcendence 2024-09-16 14:04:37 +02:00
52faeaf81c add movement request 2024-09-16 14:04:20 +02:00
142965568f Merge branch 'main' of github.com:Kum1ta/PTME_Transcendence 2024-09-16 13:15:29 +02:00
bc77e6a445 Site
- Add multi online game
Django
    - add somes paths
2024-09-15 15:57:40 +02:00
448b377012 Site
- Add multi online game
Django
    - add somes paths
2024-09-15 15:57:40 +02:00
b932032f34 Site
- Add function for request game
2024-09-15 14:02:05 +02:00
e1b8275c16 Site
- Add function for request game
2024-09-15 14:02:05 +02:00
2375aec456 add protection, can't start a game if another is already started and can't do game actions if not in a game 2024-09-15 13:40:03 +02:00
1d9db521d3 add protection, can't start a game if another is already started and can't do game actions if not in a game 2024-09-15 13:40:03 +02:00
b4ead282ba fix async function not executing when in a sync function (python is wierd) 2024-09-15 11:16:07 +02:00
d785c6f006 fix async function not executing when in a sync function (python is wierd) 2024-09-15 11:16:07 +02:00
98ddde7233 switch login method to async to work with the login request 2024-09-15 00:49:53 +02:00
53ec541fbf switch login method to async to work with the login request 2024-09-15 00:49:53 +02:00
55cc50995d Site
- Started multi online game
Django
    - Add some path
2024-09-15 00:06:51 +02:00
88e3fa3d97 Site
- Started multi online game
Django
    - Add some path
2024-09-15 00:06:51 +02:00
375e9316f7 websocket consumer to async for game infinite loop. game requests now work like stated in comment 2024-09-14 21:41:29 +02:00
c8c88a237a websocket consumer to async for game infinite loop. game requests now work like stated in comment 2024-09-14 21:41:29 +02:00
fc4ca26b15 fix typo variable name. change game requests comment 2024-09-14 12:44:34 +02:00
c9cb82c91f fix typo variable name. change game requests comment 2024-09-14 12:44:34 +02:00
118a4a92d6 Site
- Add multi local game
    - Some minor changes in html/css
Django
    - add path for /game and /multiLocalGamePage
    - add template for multiLocalGame
2024-09-14 02:06:20 +02:00
92ff0e9e8d Site
- Add multi local game
    - Some minor changes in html/css
Django
    - add path for /game and /multiLocalGamePage
    - add template for multiLocalGame
2024-09-14 02:06:20 +02:00
74ada2bc57 add Game class, users can now create and join games. remove bcypt from dockerfile pip install. remove rm ~/PTME_Data in make fclean 2024-09-14 00:43:04 +02:00
906a713e8d add Game class, users can now create and join games. remove bcypt from dockerfile pip install. remove rm ~/PTME_Data in make fclean 2024-09-14 00:43:04 +02:00
3011abaa64 Game solo - Re-organize player colisions 2024-09-13 17:05:06 +02:00
e00471653b Game solo - Re-organize player colisions 2024-09-13 17:05:06 +02:00
c332be46c0 Site
- Add variable for disable 3d in homePage
    - add 3d on lobby page
2024-09-13 16:44:08 +02:00
15de6df24e Site
- Add variable for disable 3d in homePage
    - add 3d on lobby page
2024-09-13 16:44:08 +02:00