Skip to content

Commit

Permalink
updated guesser/collector
Browse files Browse the repository at this point in the history
  • Loading branch information
Fnordistan committed Nov 14, 2020
1 parent e2de4dc commit fd5966e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ladyandthetiger.game.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ protected function setupNewGame( $players, $options = array() )

$player_id = $this->activeNextPlayer();
$last = self::getPlayerBefore( $player_id );
// First player is Collector, other player is Guesser
self::setGameStateInitialValue( 'collector', $player_id );
self::setGameStateInitialValue( 'guesser', $last );
// First player is Collector, other player is Guesser, init in reverse order since we switch...
self::setGameStateInitialValue( 'guesser', $player_id );
self::setGameStateInitialValue( 'collector', $last );

self::debug( "setupNewGame : last is ".$last );
/************ End of the game initialization *****/
Expand Down
2 changes: 1 addition & 1 deletion ladyandthetiger.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function (dojo, declare) {
cardrole = this.getRoleForCard(parseInt(card_type_id));
// Role cards get help text, clue cards get action text
if (card_div.id.includes("myhand")) {
this.addTooltip(card_div.id, _("You are the " + cardrole), '');
this.addTooltip(card_div.id, _("You are the " + cardrole) + " dude", '');
} else {
this.addTooltip(card_div.id, '', "Add a " + cardrole + " to your collection");
}
Expand Down

0 comments on commit fd5966e

Please sign in to comment.