shivansh-bhatnagar18 / multiplayer-uno

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

client:Implemented the enqueuing mechanism for clients #64

Closed ritwik-69 closed 1 month ago

ritwik-69 commented 1 month ago

fixes: #60

Description

Created two functions that pushes the event object into the event queue of a specific client id. The second Function sends the each event of the given client id to all the eligible client id (i.e only if response object is available).

Motivation and Context

[Explain the motivation behind these changes and provide any relevant context.]

How to Test

[Describe the steps to test the changes made in this pull request.]

Related Issues

[If applicable, mention any related issues or pull requests.]

Checklist

Screenshots (if applicable)

[If your changes include any visual updates, provide screenshots here.]

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 10, 2024 2:08pm
ritwik-69 commented 1 month ago

@kuv2707 done with the changes

ritwik-69 commented 1 month ago

@kuv2707 edited the commit message.

kuv2707 commented 1 month ago

@ritwik-69 This can be merged once the merge conflicts are resolved.

kuv2707 commented 1 month ago

Merged, thanks @ritwik-69