Skip to content

Conversation

@sarvasvaKhare
Copy link
Contributor

prepared a basic event emitter and listeners list for socket communication in a room . I request the person at the frontend side to use these events. for simplicity i have use document.write for checking its functionality kindly replace it with a proper code. some emitter like gameStart requires a button for activation kindly add the this event onclickhandler of that button.
I have make sure that there is no misunderstanding with what a particular event listener or emitter does. Still if you do not understand something feel free to connect.

@sarvasvaKhare
Copy link
Contributor Author

the same problem goes here too. I wanted to seperate socket code in test.ejs into a seperate file and use script src for it but the io object used to create socket is created by script above it so it needs to be on same file.

@sarvasvaKhare
Copy link
Contributor Author

https://sarvasvakhare-bluff.herokuapp.com/

heroku deployed app

@sarvasvaKhare
Copy link
Contributor Author

ADDED EVENT FOR SHUFFLING OF CARDS IN USERS'S HAND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant