Add constants module #3

Closed
opened 2026-10-04 15:30:14 +02:00 by Tirsvad · 0 comments
Owner

Create constants.py with the deck list [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10], the blackjack target 21, the dealer stand threshold 17, the ace values and the emoji card faces, so no magic numbers appear in game code.

Phase: MIL-001

Create `constants.py` with the deck list `[11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10]`, the blackjack target 21, the dealer stand threshold 17, the ace values and the emoji card faces, so no magic numbers appear in game code. Phase: MIL-001
Tirsvad added this to the Gateway 1 - Project Setup milestone 2026-10-04 15:30:14 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100_days_of_code/011-black-jack#3