Commit Graph

85 Commits

Author SHA1 Message Date
3a6887e722 Site
- add href on github button and username on discord button
2024-09-23 15:23:41 +02:00
cb2a67c40d Site
- add status on profil page
2024-09-23 15:02:23 +02:00
6729cfc421 Site
- New way to manage profiles with url -> /profil/username
Django
    - modification of the user info query
2024-09-23 01:11:05 +02:00
aee57affaa Site
- add function for open profil in home page
    - remove button newConv if own profile page
    - add message in page if we try to access to METH when we are already connected
2024-09-22 23:50:11 +02:00
183c487ff6 Site :
- PTME -> METH
2024-09-22 18:59:37 +02:00
1d719ffc64 Site :
- Fix central lobby
2024-09-22 18:41:40 +02:00
0004d2107f server generate obstacles and send them to the client 2024-09-22 17:41:19 +02:00
00d46ab4da Site
- Add notif for new message
    - remove buttons "private" and "game" in chat
    - add function on button newConv in profilPage
    - fix camera who change position (2 to 1.5 in z axe) when a goal is scored
    - fix some bug in responses functions
    - add button chat in profil page and lobby page
2024-09-21 23:14:47 +02:00
d29c58ae42 Site
- Add notif for new message
    - remove buttons "private" and "game" in chat
    - add function on button newConv in profilPage
    - fix camera who change position (2 to 1.5 in z axe) when a goal is scored
    - fix some bug in responses functions
    - add button chat in profil page and lobby page
2024-09-21 23:14:27 +02:00
1717ecc4d1 Site :
- Add "Click on the screen to play" on home page
2024-09-21 22:41:10 +02:00
e70ae3c623 change actions when a player scores and server now keep track of the scores, change colision of ball with player to take variable "playerLengh" 2024-09-20 21:22:09 +02:00
c3942627a6 Site
- add action on game request
2024-09-20 15:47:52 +02:00
cb5d00c1d2 add goal action to the game requests 2024-09-20 12:57:03 +02:00
a64d73a9ba Site
- add pen edit on pfp and banner when it s personnal page
2024-09-20 11:23:01 +02:00
f39a8bb8b7 add colision with player, server now detects when a player loses. ball direction is now relative to the place where it hit the player 2024-09-20 02:47:13 +02:00
e85d7fb165 Site
- add new page "profil"
    - new response server user_info
Django
    - add new request type "get_user_info"
    - edit function for /game /profil /wait_game
2024-09-20 01:12:57 +02:00
dbcb65b174 add banner field to database, and add a default banner (may change) 2024-09-19 20:04:29 +02:00
9d30c04f98 merge 2024-09-18 20:16:30 +02:00
9e9c063362 ball now bonces on walls (any side for now) 2024-09-18 18:09:12 +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
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
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
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
ed8d211050 add is_opponent to move request 2024-09-16 14:31:01 +02:00
ea9bff1382 fix small errors in move requests 2024-09-16 14:21:49 +02:00
52faeaf81c add movement request 2024-09-16 14:04:20 +02:00
bc77e6a445 Site
- Add multi online game
Django
    - add somes paths
2024-09-15 15:57:40 +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
b4ead282ba 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
55cc50995d 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
fc4ca26b15 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
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
5927c36e54 Site
- Add button for logout
    - somes change for websocket
    - back to login page when account created successfully
2024-09-12 18:23:40 +02:00
90b9e7bc91 Site
- fix login with 42
2024-09-12 16:28:22 +02:00
ed33961ffc Site :
- Add menu under login button when user connected
2024-09-12 01:37:52 +02:00
ac54724e2e fix error in variable name (ICLOUD_MAIL -> ICLOUD_USER) 2024-09-12 01:06:42 +02:00
9920af659e Site/Django :
- Add 404 error
    - change request method to post for load page
2024-09-11 17:27:23 +02:00
88f706698e check if requeset to page is POST 2024-09-11 17:03:10 +02:00