Commit Graph
68 Commits
Author SHA1 Message Date
LuckyLaszlo 711f971333 major rework in Game.svelte and GameSpectator.svelte
+ WIP match draw
2023-01-06 20:04:40 +01:00
LuckyLaszlo 68ae8ac333 bugfix with countdown() on early pong.destroy call
+ svelte reactivity with forfeit button
+ little matchmaking changes
+ Wip audio rework
2023-01-05 20:18:59 +01:00
LuckyLaszlo 095108d35e Merge branch 'master' into luke 2023-01-01 22:41:25 +01:00
LuckyLaszlo eae5b70194 GameSpectator nearly done (missing fetch matchlist from Nest)
+ matchEnded/matchAbort proper reset (replace setTimeout)
+ abort window.addEventListener('keydown/keyup', ...)
+ refactoring Game.svelte and others
+ fix $POSTGRES_PASSWORD in make_env.sh
+ Wip bug audio
2023-01-01 22:13:22 +01:00
LuckyLaszlo 941b0ea7ea GameSpectator wip
+ forfeit button
+ refactoring GameSession
2022-12-30 07:16:39 +01:00
LuckyLaszlo 8063f1c04c Minimal example GameSpectator.svelte page 2022-12-22 18:24:07 +01:00
LuckyLaszlo e80215204f Merge branch 'cherif_back_and_game' into luke 2022-12-22 17:43:13 +01:00
LuckyLaszlo 43f2dd85c4 init pong refactoring for spectator mode
+ pongSpectator.ts should be good
+ EventError wip, not tested
2022-12-22 17:40:14 +01:00
LuckyLaszlo d172f418a3 Chérif et Luke coop, invitations fix et timeout 2022-12-22 13:17:20 +01:00
LuckyLaszlo 7de9f3a9f1 refactoring Game.svelte (INVITATION NOT TESTED !) 2022-12-22 05:15:32 +01:00
LuckyLaszlo 84062d5a89 changes in Game.svelte
+ playerOne is always in left
+ kick players after match end
+ slow down ball and player
+ re in Makefile
2022-12-22 00:27:41 +01:00
LuckyLaszlo 351ffc1756 Merge branch 'cherif_back_and_game' into luke 2022-12-21 20:19:11 +01:00
LuckyLaszlo a1472c9059 SpectatorMatchList first test 2022-12-21 19:35:40 +01:00
LuckyLaszlo de00a4fdcd last update before merge with Cherif 2022-12-20 16:49:01 +01:00
LuckyLaszlo c29db6d5f3 WIP token identification 2022-12-19 21:48:16 +01:00
LuckyLaszlo 674eff0d6d deleted useless duplicates files 2022-12-17 20:34:48 +01:00
LuckyLaszlo 04029c9988 fix sound selector
+ favicon
+ temporary debug log for sound in RectangleClient
2022-12-17 20:33:58 +01:00
LuckyLaszlo 42f2d76f30 Wip fetch() from gameServer to nestServer
+ miscs (html, css, svelte warning, ...)
2022-12-17 17:22:42 +01:00
LuckyLaszlo abf5c45aa7 spectator mode WIP, working so far 2022-12-08 14:43:07 +01:00
LuckyLaszlo c88a6145eb minor refactoring 2022-12-08 07:35:20 +01:00
LuckyLaszlo 75925b5f84 messages refactoring 2022-12-08 04:42:31 +01:00
LuckyLaszlo b3bd43c423 added victory by forfeit 2022-12-08 04:08:16 +01:00
LuckyLaszlo d2cdc564ac Match abort if all players not ready in time (5s)
+ HTML Keys instructions
2022-12-07 19:33:56 +01:00
LuckyLaszlo 6985d2218f minor wsServer changes
("for...of" loop replace a "map.forEach" to make early break possible)
2022-12-06 07:40:15 +01:00
LuckyLaszlo 38c0acb917 mp3 replaced by ogg
+ value of radio button discared, because never used
2022-12-06 04:12:25 +01:00
LuckyLaszlo 4be38c59e8 HTML sound selector 2022-12-06 03:53:44 +01:00
LuckyLaszlo 9dde821f67 HTML game modes selector
+ pong.css in a separate file
2022-12-06 01:56:39 +01:00
LuckyLaszlo 7355a70821 minors GameComponents changes 2022-12-04 19:05:21 +01:00
LuckyLaszlo 59c7ae2a16 added alternate game mode "movingWalls" 2022-12-02 21:01:06 +01:00
LuckyLaszlo 93a40f2ad9 memo.txt update 2022-12-01 18:20:58 +01:00
LuckyLaszlo f73932c131 multiBalls refactoring with ballsArr[] 2022-12-01 17:48:34 +01:00
LuckyLaszlo c8c3111ed4 WIP multiBalls (need refactoring) 2022-12-01 15:55:40 +01:00
LuckyLaszlo 6e572f2fb5 matchmaking rework for multiples game modes 2022-12-01 05:50:31 +01:00
LuckyLaszlo e3fd130729 GameSession delete + log 2022-11-30 19:42:16 +01:00
LuckyLaszlo 68e529fec2 input desynchro, rollback to instant handle. 2022-11-30 04:00:55 +01:00
LuckyLaszlo 01023d67b5 update memo.txt 2022-11-29 01:02:34 +01:00
LuckyLaszlo 6ac3592bc0 server handleInput rework done 2022-11-29 00:47:02 +01:00
LuckyLaszlo 429387ce83 Wip reworking server handleInput
+ fixedDeltaTime for server
2022-11-28 23:55:24 +01:00
LuckyLaszlo c656de5cad opponent interpolation 2022-11-28 16:38:02 +01:00
LuckyLaszlo 5325c8b9ee messages draw on canvas
+ bugfix: vector.assign() Uncaught TypeError
2022-11-28 04:40:03 +01:00
LuckyLaszlo 7f248b5449 find a way to sharing init
+ vector.normalized()
+ misc
2022-11-28 04:33:27 +01:00
LuckyLaszlo 4aafbac1a5 collision algo with Hugo
+ ball.dir added to EventGameUpdate
2022-11-25 14:54:17 +01:00
LuckyLaszlo 3474d54a2b drawing now seperate from gameLoop
+ refactoring
+ added soundMutedFlag
2022-11-24 13:56:51 +01:00
LuckyLaszlo 7d5895a6cc server reconciliation OK (a little rubberbanding) 2022-11-23 10:43:12 +01:00
LuckyLaszlo 2b9058ad49 audio
+ client prediction
2022-11-22 00:06:07 +01:00
LuckyLaszlo 04203f4f9d matchmaking OK 2022-11-21 21:04:41 +01:00
LuckyLaszlo add08c216f authoritative server OK
+ TODO actual matchmaking
2022-11-21 19:46:25 +01:00
LuckyLaszlo 48665cfe30 WIP, tout est en chantier, très content :) 2022-11-20 15:46:45 +01:00
LuckyLaszlo 023b5ed485 reafactoring 2022-11-17 12:22:57 +01:00
LuckyLaszlo 6fb1470dbb refactoring
+ wip input to server
2022-11-17 11:12:32 +01:00
LuckyLaszlo a873b23d0f basic Websocket client-server 2022-11-16 15:40:44 +01:00
LuckyLaszlo 2f62331559 change server message 2022-10-28 16:09:23 +02:00
LuckyLaszlo 4a79083cbf added delta time
+ #preloadfont hack
2022-10-28 01:46:11 +02:00
LuckyLaszlo d7aa2b633b local pong done, start multiplayer implementation 2022-10-26 22:21:55 +02:00
LuckyLaszlo a831b7954c basic node server
+ very interesting back and forth in TS/JS configs 🤡
2022-10-26 19:27:06 +02:00
LuckyLaszlo e56c8e0b67 ball speed up on player collision 2022-10-23 03:23:25 +02:00
LuckyLaszlo d76d6def47 minors changes 2022-10-22 11:47:37 +02:00
LuckyLaszlo af3d885f12 newRound() and Game Over
+ Bit Font for score
+ improved API for move and collision
+ miscs
2022-10-22 09:47:25 +02:00
LuckyLaszlo 3f6d7c3afc added midLine (net) 2022-10-20 05:00:14 +02:00
LuckyLaszlo 1d58342c0f pong now in TypeScript 2022-10-19 17:42:44 +02:00
LuckyLaszlo 6b495399c0 miscs littles adjustements 2022-10-16 20:08:24 +02:00
LuckyLaszlo 0cca04e350 a little more responsive (a little) 2022-10-16 17:14:59 +02:00
LuckyLaszlo 0f98e3328e basic ball bounce
+ minors changes
2022-10-16 01:51:13 +02:00
LuckyLaszlo 0a7fb20857 added wall
+ inputs adjustements
2022-10-15 23:28:03 +02:00
LuckyLaszlo 03835c3c2b miscs and basic responsive. 2022-10-15 17:41:54 +02:00
LuckyLaszlo c2e0618427 wip pong local 2022-10-07 10:45:42 +02:00
LuckyLaszlo e710676233 init .gitignore 2022-09-01 13:17:45 +02:00
Non Merci 597e5465cc Initial commit 2022-09-01 09:21:14 +00:00