Skip to content

Commit 6c9fb4d

Browse files
fefuloweFederico Ponce de Leon
andauthored
[Black Jack]: ✏️ Updates to instructions. (#3660)
* ✏️ Update instructions.md if we already have an ace, the upcoming ace's value should be 1 https://en.wikipedia.org/wiki/Blackjack?lang=en#Rules_of_play_at_casinos [...] and aces count as either 1 or 11 according to the player's choice. * ✏️ Update instructions.md The instructions on the exercise [black_jack](https://exercism.org/tracks/python/exercises/black-jack) might be improved. It could be better to refer to the value of the upcoming ace instead of the value of those in hand since this doesn't apply if we have two aces in hand. Current instructions: `Hint: if we already have an ace in hand then its value would be 11.` Proposed instructions: `Hint: if we already have an ace in hand, then the value for the upcoming ace would be 1.` Sources: "[...] and aces count as either 1 or 11 according to the player's choice." from [Wikipedia](https://en.wikipedia.org/wiki/Blackjack?lang=en#Rules_of_play_at_casinos). --------- Co-authored-by: Federico Ponce de Leon <fpleon@intrasoft.com.ar>
1 parent 07a3adf commit 6c9fb4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/black-jack/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Define the `value_of_ace(<card_one>, <card_two>)` function with parameters `card
6767
Your function will have to decide if the upcoming ace will get a value of 1 or a value of 11, and return that value.
6868
Remember: the value of the hand with the ace needs to be as high as possible _without_ going over 21.
6969

70-
**Hint**: if we already have an ace in hand then its value would be 11.
70+
**Hint**: if we already have an ace in hand, then the value for the upcoming ace would be 1.
7171

7272
```python
7373
>>> value_of_ace('6', 'K')

0 commit comments

Comments
 (0)