X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.jsx;h=143acd930824a564af6a7153cbbd3b37006a54fc;hp=407a4fe9cb5cf6f15bcce81e91e2f4c8a3cc9ab1;hb=182083e7c5284b7e373a133dce71eac86cb365f7;hpb=d82276f171fa3a918e8d78db68e7c5b75404e309 diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 407a4fe..143acd9 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -569,30 +569,47 @@ class Ambiguities extends React.PureComponent { ); } - if (this.props.players_judged.has(this.props.player.name)) { - return ( -
- The following players have completed judging: - {[...this.props.players_judged].join(', ')} -
+ let still_waiting = null; + const judging_players = Object.keys(this.props.players_judging); + if (judging_players.length) { + still_waiting = ( +- Still waiting for the following players: + Still waiting for the following player + {judging_players.length > 1 ? 's' : '' } + :
+ The following players have completed judging:{' '} + {[...this.props.players_judged].join(', ')} +
+ {still_waiting} {move_on_button}- The following players have submitted their answers: - {[...this.props.players_answered].join(', ')} -
-- Still waiting for the following players: + Still waiting for the following player + {answering_players.length > 1 ? 's' : ''} + :
+ The following players have submitted their answers:{' '} + {[...this.props.players_answered].join(', ')} +
+ {still_waiting} {move_on_button}Remember, you're trying to match your answers with what the other players submit. - Give {this.props.prompt.items} answers for the following prompt: + Give {this.props.prompt.items} answer + {this.props.prompt.items > 1 ? 's' : ''} for the following prompt: