diff --git a/src/components/farm/Board.jsx b/src/components/farm/Board.jsx index 9d64baa..e29a537 100644 --- a/src/components/farm/Board.jsx +++ b/src/components/farm/Board.jsx @@ -357,7 +357,7 @@ class PlayerTurnContainer extends React.Component { render() { let view; - const player = this.props.player, + const { player, ui } = this.props, worth = netWorth(player), auditButton = (this.props.game.calledAudit === false && worth >= this.props.game.settings.auditThreshold) ? ( ) : ''; @@ -401,10 +401,25 @@ class PlayerTurnContainer extends React.Component { Watch {this.props.game.currentPlayer}'s turn ); } + const space = ui.playerSpaces[player.color]; return (
+ { space >= 9 && space <= 14 ? ( + <> +
+ Recommendation: +
+
+ before next roll +
+
+ + ) : (<>)} {view}
@@ -2213,6 +2228,11 @@ class Card extends React.Component {
) : (<>)} + + + + + ); break; diff --git a/src/style.scss b/src/style.scss index 2d444e3..b9b12b1 100644 --- a/src/style.scss +++ b/src/style.scss @@ -687,12 +687,6 @@ $trade-margin: 3rem; .tab.show { display: block; } -.turn-container { - position: relative; - height: 56px; - padding: 0.5rem; - width: 100%; } - .turn-container .button { margin: 0; }