Commit Graph

172 Commits

Author SHA1 Message Date
88e3fa3d97 Site
- Started multi online game
Django
    - Add some path
2024-09-15 00:06:51 +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
c9cb82c91f fix typo variable name. change game requests comment 2024-09-14 12:44:34 +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
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
e00471653b Game solo - Re-organize player colisions 2024-09-13 17:05:06 +02:00
15de6df24e Site
- Add variable for disable 3d in homePage
    - add 3d on lobby page
2024-09-13 16:44:08 +02:00
2e002057d4 Site
- Fix bug single page with back arrow
    - add animation when clock on tv
    - fix bug when return on home page for login button
2024-09-13 11:17:47 +02:00
9a589d80f5 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
90e9de59bc Site
- fix login with 42
2024-09-12 16:28:22 +02:00
17487197ac Site :
- Add menu under login button when user connected
2024-09-12 01:37:52 +02:00
3469b74c05 fix error in variable name (ICLOUD_MAIL -> ICLOUD_USER) 2024-09-12 01:06:42 +02:00
e14a7115fb Game solo - Scale player when collision 2024-09-11 18:10:59 +02:00
6fd37f3c58 Game solo - Add game start timer during launch 2024-09-11 18:10:59 +02:00
15c5ee20ff Game solo - End game process 2024-09-11 18:10:58 +02:00
9d62f0bede Site/Django :
- Add 404 error
    - change request method to post for load page
2024-09-11 17:27:23 +02:00
11f65d608b check if requeset to page is POST 2024-09-11 17:03:10 +02:00
3ce614625b add err404 page (on /404) (not working, template file missing) 2024-09-11 16:41:11 +02:00
00e50bdefb check if user is logged in to show page lobby 2024-09-11 16:30:28 +02:00
32306787e4 404 page renders index page 2024-09-11 16:19:36 +02:00
f5cf64f8a7 change loading of variables on django server and add server_url to env 2024-09-11 13:05:07 +02:00
853f314992 Game
- Add changeBarColor
    - Add changePlane (all in multi)
2024-09-10 18:34:05 +02:00
ea7c77d5ae Game
- add changeColor for player
    - add changeGround for plane
2024-09-10 18:34:05 +02:00
8b3e5bfea1 Site :
- Single page working
2024-09-10 17:34:08 +02:00
0c0a171309 Site
- Add notif when account not valid
    - Add notif when account is create
2024-09-10 15:25:29 +02:00
f5857ce771 Django
- Add function for send mail when user create an account
2024-09-10 14:17:20 +02:00
eaf71af8d1 add mail verification on server side (does not send the mail for now) 2024-09-09 21:48:08 +02:00
e070edbcd2 Site
- Add notification for error in create account
Serv :
    - create program for send a mail
'
2024-09-09 17:33:45 +02:00
0d26de0bf4 fix delete last message in conversation if over 100 2024-09-09 14:16:40 +02:00
f8361829d8 Site
- Can create account on site but for the moment, nothing display when it s good
2024-09-08 18:01:44 +02:00
56bd6b21ed Game
- Add fade at start of game
2024-09-08 17:07:16 +02:00
dfe2dd1562 fix password rules on server side 2024-09-06 18:54:55 +02:00
949d94d604 Site
- updating register page
2024-09-06 17:36:12 +02:00
345a94febd Game
- Add ball border transparence
    - Add others collision player on bottom and top
    - Fix ball velocity
2024-09-04 17:50:41 +02:00
b2bef2ad79 Game 2024-09-03 18:30:39 +02:00
2534171ea7 Game
- Add fade layout while goal3
2024-09-03 17:23:13 +02:00
c333ed0814 Game
solo
    - Add players scores
    - Add restart function after a match point
    - Add border match point
    - Fix cannon js object size
    - Fix vector dir init random values and max values
2024-09-02 18:13:36 +02:00
8433941e54 Game
- Add more speed with time
2024-08-31 15:03:52 +02:00
53cc7389fe Game - Add colisions in soloMap 2024-08-30 19:44:28 +02:00
0a7f6eacfa Game - Push 2024-08-30 16:51:36 +02:00
e3a1db286d Django
- Fix live chat resquest
2024-08-30 16:43:24 +02:00
222526c213 Site
- Fix bug with 42 loggin button
2024-08-30 12:03:39 +02:00
ab01835dc9 prevent two different socket for same user and remove ws from server folder 2024-08-29 21:44:20 +02:00
5e68706d3d add login with 42 link href (can't click, i hate html) 2024-08-29 20:28:03 +02:00
970944fbd6 Merge branch 'main' of github.com:Kum1ta/PTME_Transcendence 2024-08-29 18:43:36 +02:00
64b2e8ab73 Game
- Starting solo game with physics
2024-08-29 18:43:23 +02:00
5b1707e8d3 Game - Add video event goal/outstanding - Add video random mode - Add video clear 2024-08-29 17:58:04 +02:00
24704b8493 Gane
- Continuing solo game
2024-08-29 00:45:13 +02:00
6c910ec4ac Merge 2024-08-28 19:10:28 +02:00
0fd9d162d5 login with 42 works, fix crash when session is deleted from database 2024-08-28 18:35:45 +02:00