Skip to content

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

Open
bennyo27 wants to merge 2 commits into
bloominstituteoftechnology:masterfrom
bennyo27:master
Open

Deployed and working on login and registration on front end - Benny Oseguera#134
bennyo27 wants to merge 2 commits into
bloominstituteoftechnology:masterfrom
bennyo27:master

Conversation

@bennyo27

Copy link
Copy Markdown

No description provided.

@TheDeterminator TheDeterminator left a comment

Copy link
Copy Markdown

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!

Comment thread adventure/api.py
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}"'})

Copy link
Copy Markdown

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