Commit Graph

308 Commits

Author SHA1 Message Date
76e6a11ad8 game: add: use straight line colision (Not finished) 2024-03-31 10:59:28 +02:00
AdrienLSH
3179c3c056 lang: register view 2024-03-31 10:59:28 +02:00
AdrienLSH
52fbd30757 lang: add locale in django and login view 2024-03-31 10:59:28 +02:00
4b092b31bb game: add: vector colision (Not work) 2024-03-31 10:59:23 +02:00
AdrienLSH
3e4d52c645 lang: translation of django's response 2024-03-31 10:59:23 +02:00
AdrienLSH
71970f5683 lang: window title translation 2024-03-31 10:59:23 +02:00
AdrienLSH
18c4ca719b lang: improved, Home view translation 2024-03-31 10:59:23 +02:00
AdrienLSH
a8f1cccae3 ; 2024-03-31 10:59:23 +02:00
AdrienLSH
50444af45c bozo move 2024-03-31 10:59:22 +02:00
AdrienLSH
3885348f97 improved login redirections 2024-03-31 10:59:22 +02:00
f8490da953 doc: fix: docstring: use Promise 2024-03-31 10:59:22 +02:00
22dd4a0299 profiles 2024-03-31 10:59:17 +02:00
910a8861e5 Merge with Xamora 2024-01-24 16:14:15 +01:00
0f7953b2f3 Chat finish; add invitation; friend; see online users if he is your friend 2024-01-24 16:03:50 +01:00
AdrienLSH
8eeb9ed4ab lang: navbar translation 2024-01-24 14:13:11 +01:00
AdrienLSH
40d61233e5 lang: navbar menu 2024-01-24 09:52:05 +01:00
6fd11d0028 game: add: docstring 2024-01-22 13:21:51 +01:00
8da7e09af7 game: add: class: point and segment, add: type docstring 2024-01-21 00:33:43 +01:00
0d69a63b62 Fix lag; Camille forgot usleep(500) 2024-01-19 17:00:30 +01:00
fe47a4d633 Block fixed, looking for invite in game 2024-01-19 16:48:20 +01:00
c6990ebb3e game: fix: my paddle is in right place now 2024-01-19 15:51:08 +01:00
7cf13640a1 game: core: change player to player.isconnected
befort: if a player is disconnected he doesn't have an object
after: he have un object with a socket == None
2024-01-19 15:38:04 +01:00
AdrienLSH
60a3e02420 front: redirect to last visited page after login 2024-01-19 10:54:14 +01:00
b0861b0ec0 game: add: pladdle can move online with ping 2024-01-18 14:44:28 +01:00
AdrienLSH
251e9b032a front: username displayed as dropdown button 2024-01-18 14:26:49 +01:00
AdrienLSH
ad6aa62ecd front: css: improved spacing of dropdown menu 2024-01-18 14:23:39 +01:00
1589763197 game: add: player can leave and join game 2024-01-18 13:59:19 +01:00
371aa85b4c game: fix: leave page do not cause error 2024-01-18 13:42:23 +01:00
AdrienLSH
b2ae3a1ded front: profile page title set to username 2024-01-18 13:41:02 +01:00
AdrienLSH
a7b0051d47 front: add link to user's profile 2024-01-18 13:36:13 +01:00
AdrienLSH
c831a019b2 fix: search redirection to user profile 2024-01-18 13:07:06 +01:00
AdrienLSH
dee71c7c8d access profiles with username instead of id 2024-01-18 10:31:56 +01:00
1af55795d9 game: core: recreate classes see other paddle 2024-01-17 19:06:36 +01:00
f5b2c01633 game: player control the right paddle 2024-01-17 14:52:39 +01:00
3dc07803eb game: paddle can move 2024-01-17 14:47:53 +01:00
2bd0624100 game: core: use server game calulation form 2024-01-17 14:23:23 +01:00
e0990db8d1 game: core: use draw method instead draw_CLASSNAME 2024-01-16 23:27:56 +01:00
7096989e9b game: opti: use time class 2024-01-16 17:51:47 +01:00
58c0df447c player pos is checked 2024-01-16 17:47:48 +01:00
AdrienLSH
a1e732f167 dropdown menu 2024-01-16 15:19:33 +01:00
AdrienLSH
ff574dc296 oopsies 2024-01-16 11:20:41 +01:00
AdrienLSH
d16169112e add bootstrap js file (dropdown menu) 2024-01-16 11:17:29 +01:00
AdrienLSH
7ff6571982 html/css: better readability for navbar account links 2024-01-16 10:14:25 +01:00
AdrienLSH
a0e58e7889 register page 2024-01-16 09:56:40 +01:00
AdrienLSH
0edb865ad8 login page 100% 2024-01-16 09:36:07 +01:00
ff85c1d30c game: fix: create my player only if game start 2024-01-15 18:15:59 +01:00
a30ec46685 game: add: PADDLE CAN MOVE 2024-01-15 17:55:12 +01:00
a2fbfa1937 merge with Xamora 2024-01-15 16:30:17 +01:00
cdb4dab47a Start invitation; notification; add profile avatar in me 2024-01-15 16:29:18 +01:00
AdrienLSH
359d78e4d8 fix: navbar links 2024-01-15 13:50:03 +01:00
fa97abb825 add my player class 2024-01-15 13:37:15 +01:00
87d87a62ab merge with Xamora 2024-01-14 17:53:01 +01:00
11392c22c4 remove error in console, and search work with unlog user 2024-01-14 17:50:34 +01:00
131e599d17 merge with main 2024-01-14 15:55:17 +01:00
a085fcd92b Starting popup notice 2024-01-14 15:40:20 +01:00
AdrienLSH
56edb7424c fix: my bad chef 2024-01-14 15:36:43 +01:00
a254e5a0c2 Move file tournament; chat can see who is online 2024-01-13 11:18:10 +01:00
09f3c92153 Oupsie 2024-01-11 17:34:44 +01:00
4c114a34df Add online/disconnect color on Search, not finish 2024-01-11 17:34:00 +01:00
134f1a8bd1 game: advent to online 2024-01-11 17:31:15 +01:00
AdrienLSH
ddc0698605 improved link highlighting 2024-01-11 14:05:21 +01:00
AdrienLSH
49c1288a0b improved register page 2024-01-11 13:03:43 +01:00
AdrienLSH
cd82162ebe improved login page 2024-01-11 09:56:38 +01:00
8c43864b26 game: add: game map 2024-01-10 17:55:16 +01:00
AdrienLSH
6a80cd4e35 add: navbar links change when logged 2024-01-10 13:33:40 +01:00
AdrienLSH
ad20d85470 fix: loging out redirects to login page 2024-01-10 13:21:03 +01:00
AdrienLSH
196729b153 css: bootstrap files 2024-01-10 13:04:11 +01:00
AdrienLSH
2878d80358 forgot to remove a log 2024-01-09 22:16:10 +01:00
AdrienLSH
8eb54d0f14 fix: redirect to home after login 2024-01-09 19:55:55 +01:00
56d352fead merge with Xamora 2024-01-09 18:48:10 +01:00
3f63e4a571 code more readable, and fix chat 2024-01-09 18:47:27 +01:00
AdrienLSH
23b7b640da css: accounts are not for communists 2024-01-09 17:35:26 +01:00
c51f8d3500 fix: change game offline url 2024-01-09 14:54:07 +01:00
5bc847ad88 chat: fix the core update 2024-01-09 13:17:55 +01:00
AdrienLSH
0c59dd4005 css 2024-01-09 12:34:12 +01:00
97f74335d7 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-09 12:31:54 +01:00
35859db051 game: init 2024-01-09 12:31:13 +01:00
AdrienLSH
82bdb94946 more marging cuz monkeyboi said so 2024-01-09 10:56:28 +01:00
4432214d98 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-08 21:00:27 +01:00
476ed0b833 core: use postinit status code 2024-01-08 20:57:43 +01:00
ad50d1a179 merge with Xamora 2024-01-08 20:39:06 +01:00
a7b5040ebc Add focus on chat input 2024-01-08 18:55:30 +01:00
478456a199 patch chat 2024-01-08 17:20:15 +01:00
AdrienLSH
c1957c7667 css: a lil' bit of marging cuz why not 2024-01-05 14:41:52 +01:00
AdrienLSH
3b28e4e594 fix: remove index.css link in html 2024-01-05 14:17:56 +01:00
AdrienLSH
01d50f1d8c fix: oopsies 2024-01-05 12:17:23 +01:00
AdrienLSH
57b318ea81 del: useless shit 2024-01-05 11:58:41 +01:00
AdrienLSH
7a595d37ec add: boostrap navbar 2024-01-05 11:40:22 +01:00
58d20920ea try restore 2024-01-02 15:23:29 +01:00
862b655dab serveur down, tentative de récup 2024-01-02 15:13:55 +01:00
de3349e1c3 tmp 2023-12-28 19:26:57 +01:00
9f7b813292 chat: fix and opti 2023-12-27 16:14:39 +01:00
cfb14be945 Merge branch 'Chatte' into server 2023-12-27 09:59:19 +01:00
9bb6a32c70 tournament: add: TOURNAMENT CAN START 2023-12-26 18:24:23 +01:00
44fa122585 clean: tournament: remove debug print 2023-12-26 14:35:45 +01:00
efbcd10fb0 fix: websocket url 2023-12-26 14:28:04 +01:00
AdrienLSH
52c7d9eafb add: websocket protocol now depends on http's 2023-12-26 01:03:09 +01:00
8ba55d5be2 tournament: add: player can join tournament now 2023-12-24 16:58:36 +01:00
397344ee45 matchmaking: add: clear message if normal closure 2023-12-23 18:47:16 +01:00
39ea33cc8e fix: go to url when game found 2023-12-23 16:56:04 +01:00
8529963f97 change matchmaking to authenfied view 2023-12-23 16:49:43 +01:00
c02c49215d fix: matchmaking support start stop, multi connection 2023-12-23 16:47:22 +01:00
6c39a13aca core: recreation of matchmaking, add: matchmaking support multiple modes 2023-12-23 12:54:33 +01:00
278e2cbe54 add: tournament create view 2023-12-22 14:26:06 +01:00
587980d637 add: tournament list view 2023-12-21 11:35:47 +01:00
4eaa35584d fix: return 404 when tournament not found 2023-12-21 00:23:10 +01:00
6295c5120f add: tournament page 2023-12-21 00:21:18 +01:00
8e0514514b fix: check if profile existe befort render profile page 2023-12-21 00:05:54 +01:00
0626faae7f core: edit renderView engine
to display 404 error on not found page
2023-12-21 00:04:48 +01:00
4fd6616786 add block option 2023-12-20 23:48:52 +01:00
9714918de9 Merge remote-tracking branch 'refs/remotes/origin/server' into server 2023-12-20 19:15:59 +01:00
bfcfabb35a init: tournament 2023-12-20 19:15:47 +01:00
4f0b2250bd fix 2023-12-20 19:10:26 +01:00
57ed6165ea bug issue; rewrite all messages 2023-12-19 12:42:46 +01:00
acba77e228 Réarrangement du code; correction css; écriture uniquement du nouveau message 2023-12-19 11:27:18 +01:00
fb0f9be103 merge with Chatte; patch css 2023-12-18 22:37:05 +01:00
41a7a6dfb8 css patch 2023-12-18 22:35:42 +01:00
a10fdefd23 css patch 2023-12-18 22:29:40 +01:00
kdx
b139652fc5 fix css 2023-12-18 22:29:38 +01:00
c6f6e216f2 css patch 2023-12-18 22:27:17 +01:00
kdx
7479088254 fix css 2023-12-18 22:27:02 +01:00
651fbbd67f css patch 2023-12-18 22:18:49 +01:00
778d10d22f fix: client.me 2 2023-12-18 21:41:00 +01:00
1961047703 merge with Chatte 2023-12-18 21:29:35 +01:00
929c1fdeb3 merge with Chatte 2023-12-18 21:27:52 +01:00
980a66fb47 fix: client.me 2023-12-18 21:27:10 +01:00
609b045315 better css, add debug 2023-12-18 21:26:18 +01:00
26a9152756 fix: register view 2023-12-17 20:17:52 +01:00
f32d38287a tentative de merge 2023-12-16 18:02:07 +01:00
51354d9922 tentative de merge 2023-12-16 18:00:38 +01:00
b5d73e59fd core: simplified login and register, fix: me 2023-12-16 17:41:31 +01:00
86e2528d04 merge with Chatte 2023-12-16 17:01:03 +01:00
3be50e747d bug issue, null users_id creation channel 2023-12-16 17:00:38 +01:00
1f41e62a86 core: refonte profile 2023-12-16 16:42:30 +01:00
51059e6bf3 merge with Chatte 2023-12-16 16:15:13 +01:00
92221926a1 Better Css 2023-12-16 16:14:46 +01:00
468a3917a9 fix css file to /login /register 2023-12-16 10:39:07 +01:00
d03f90367f bug issue 2023-12-15 20:39:31 +01:00
6171528371 merge with Chatte 2023-12-15 20:34:55 +01:00
bcb072f7d9 chat functional 2023-12-15 20:32:43 +01:00
AdrienLSH
c303042588 add: 404 not found 2023-12-14 13:55:31 +01:00
5d46ff5123 add: offline button 2023-12-13 12:40:47 +01:00
AdrienLSH
0ce8645770 Merge branch 'jspong' into server 2023-12-13 12:35:06 +01:00
AdrienLSH
63e1520e6a add: ball respawn timeout 2023-12-12 18:25:16 +01:00
AdrienLSH
754e5867f2 welp I guess we're done 2023-12-12 15:58:50 +01:00
a15c59fbf7 clean: remove trash file 2023-12-12 15:21:06 +01:00
243c5f266a clean: remove bozo print 2023-12-12 15:20:53 +01:00
926ac0dd54 clean: print 2023-12-12 15:20:26 +01:00
f0aaf0f29e clean: remove print 2023-12-12 14:43:57 +01:00
AdrienLSH
ca6dba2763 add: ball angle calculations 2023-12-12 12:10:48 +01:00