Commit graph

155 commits

Author SHA1 Message Date
c2af2dffa2
Working ship placement 2023-06-11 22:09:36 +02:00
0317a3343c
Improved handling ws connection and redirect 2023-06-11 00:37:12 +02:00
53a07b21b0
Step towards full multiplayer compatibility 2023-06-10 20:26:46 +02:00
9895a286a3
Working Eventbar 2023-06-07 11:51:33 +02:00
787a85e425
Use socket broadcast instead of server wide 2023-06-07 09:41:17 +02:00
84b4025bf9
Merge pull request #12 from aronmal/expansion
Expansion
2023-06-02 12:57:42 +02:00
f8fe083b03
pnpm up 2023-06-02 12:53:19 +02:00
63fc8c56bf
Added userState (isReady and isConnection) 2023-06-02 12:40:51 +02:00
29cb4a279d
Lobby disable leave on launch 2023-06-02 09:36:59 +02:00
df315df8f4
Implemented isReady & isConnected 2023-05-29 19:48:51 +02:00
4fa3b9ae64
Format documents (prettier-plugin-tailwindcss) 2023-05-29 15:53:25 +02:00
1b05d1120b
Fix prettier-plugin-tailwindcss 2023-05-29 15:52:03 +02:00
a088bff7be
Drawing function 2023-05-26 18:25:14 +02:00
6bff62c0c2
Better fog 2023-05-26 18:24:51 +02:00
d54db32980
Working torpedo 2023-05-26 18:24:19 +02:00
b3695916a0
Fixed targetPreview 2023-05-24 10:10:56 +02:00
986555a368
Use an older version of Zod to avoid errors 2023-05-16 07:57:17 +02:00
dacc33bf21
Update packages 2023-05-13 15:21:24 +02:00
f1ea064d4c
Working real time lobby 2023-05-13 15:03:12 +02:00
61ae4b901d
Game settings and better socket performance
- Added game settings
- Reworked GamePropsSchema for only relevant information
-> Prisma schema and zod object
- Imporved toast notifications
- No duplicate socket connections anymore
- Using now Zustand for the gameProps instead of React Context & State
2023-05-10 21:02:22 +02:00
12295b316f
Some after work from last commit 2023-04-27 18:57:00 +02:00
30db96a3f7
Functioning websocket connections 2023-04-27 17:41:16 +02:00
a227da52bc
Implement api redirect 2023-04-26 13:49:33 +02:00
2ed943857e
Use React Context as in the first place 2023-04-26 13:49:15 +02:00
f97b3a622a
Fixed types 2023-04-26 12:24:14 +02:00
ba7097207c
SocketIO with auth working 2023-04-25 22:27:23 +02:00
4af85bb572
API data types rework 2023-04-25 22:27:03 +02:00
207cf47c10
Fix compile errors 2023-04-24 18:57:12 +02:00
da53662d6e
Keep improving 2023-04-24 18:56:56 +02:00
d3e8a43b34
Using zod-prisma-types ❤️ 2023-04-24 18:55:22 +02:00
c895bcef19
Some repatches 2023-04-23 19:01:55 +02:00
dab3abdda2
Using next-auth 2023-04-23 18:21:18 +02:00
b9e72b2a32
Little fix 2023-04-15 12:10:56 +02:00
549d0f1d77
Backend rewrite using async/await 2023-04-15 12:09:25 +02:00
2862f94f1c
Implemented simple full-stack logic (unfinished) 2023-04-12 22:33:29 +02:00
a32b40395e
Starting to implement full-stack logic 2023-04-12 22:32:40 +02:00
06f0eacc78
Frontend creating a game lobby 2023-04-11 21:33:25 +02:00
8cf563ed92
Improving type safety 2023-04-11 20:07:27 +02:00
37e4f35e33
Creating API endpoints 2023-04-11 20:06:55 +02:00
85fb7cfa7a
Using @trivago/prettier-plugin-sort-imports 2023-04-11 20:05:50 +02:00
4b33cff0d8
Changed imports 2023-04-11 18:46:02 +02:00
47ed7da260
Fixed amount styling 2023-04-11 18:19:52 +02:00
051af9a147
Player registration 2023-04-10 22:10:46 +02:00
ac578e9247
Remove response function 2023-04-10 22:08:52 +02:00
2a009585f4
Improve errors 2023-04-10 22:08:16 +02:00
8193b85274
Improve code quality 2023-04-10 20:21:27 +02:00
39ddf8fde9
Improved passing of req, res, and tokens 2023-04-10 18:51:38 +02:00
a8e5b57363
Return next() function 2023-04-10 17:06:38 +02:00
295acb1c84
Update packages 2023-04-08 19:53:07 +02:00
bda0483b3d
Use enum 2023-04-08 19:48:36 +02:00