Implement calculate_score #8

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

Sum a list of cards, return 0 for a two-card Ace + 10 blackjack, and replace an 11 with 1 while the total exceeds 21. Pure function without console I/O; unit-tested for blackjack, bust, multiple aces and normal totals.

Phase: MIL-002

Sum a list of cards, return 0 for a two-card Ace + 10 blackjack, and replace an 11 with 1 while the total exceeds 21. Pure function without console I/O; unit-tested for blackjack, bust, multiple aces and normal totals. Phase: MIL-002
Tirsvad added this to the Gateway 2 - Game Implementation milestone 2026-10-04 15:30:28 +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#8