shivansh-bhatnagar18 / multiplayer-uno

https://multiplayer-uno.vercel.app
20 stars 43 forks source link

Server: Route Handler for /event #57

Closed asmit27rai closed 1 month ago

asmit27rai commented 1 month ago

Controller For Post /event EndPoint

Fixes #45

Description

I worked on three file firstly i make getallclient function in eventRecipient secondly create post route in gameRoute file and finally create relayGameEvent in gameController file where i take req and put send it to all connected client...

Motivation and Context

To Relay The Event To The Connected User Only

Related Issues

Make Function That Update GameStats.

Checklist

kuv2707 commented 1 month ago

I have added some structure for sending events. Please update the PR, using those functions

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
multiplayer-uno ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 7, 2024 3:35pm
asmit27rai commented 1 month ago

I have added some structure for sending events. Please update the PR, using those functions

Done

kuv2707 commented 1 month ago

@asmit27rai Please resolve the conflicts to progress the PR

asmit27rai commented 1 month ago

@asmit27rai Please resolve the conflicts to progress the PR

Done

kuv2707 commented 1 month ago

The commit message still isnt perfect(lines are too wide), but can be ignored.

kuv2707 commented 1 month ago

Merged, thanks @sksmagr23 , @asmit27rai