Workshop › Blackjack › Step 11 of 22
When you are happy with your hand you "stand": your turn ends and it is the dealer's turn. S is Stand.
```js
function stand() {
if (phase !== 'player') return
phase = 'dealer'
}
else if (button === 'Stand') stand()
```stand hands the turn to the dealer; like hit, only on your turn.else if checks the next button only if the first did not match.hit, write stand.press, handle Stand.Skills: Keyboard and mouse input, Game states
← Hit: one more card The hidden card →