Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployed and working on login and registration on front end - Benny Oseguera #134

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bennyo27
Copy link

No description provided.

Copy link

@TheDeterminator TheDeterminator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benny, you have a lot of solid work here. Only thing I might recommend is more frequent, detailed commits and maybe a few more comments in your code, all the same, great job!

room = player.room()
currentPlayerUUIDs = room.playerUUIDs(player_id)
for p_uuid in currentPlayerUUIDs:
pusher.trigger(f'p-channel-{p_uuid}', u'broadcast', {'message': f'<{player.user.username}> says "{message}"'})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this sends a message to the player who performs the say command, yes? You might consider how it could send a message to everyone 'except' the player who performed the command. This is one way in which it might be differentiated from shout. Of course, shout also sends messages to players even if they are not in the room so that is another difference.

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.

2 participants