This assignment requires you to implement a game engine and console based user interface (logging output only, no user
interaction required) for a casino style card game that is loosely based on Black Jack but is for the gambler in a hurry that doesn’t
want to think too hard and wants to trust in luck alone without having to worry about statistics!
The rules are simple, for each round, the player places a bet of a chosen amount up to their maximum available points (see NOTE1
below) and then receives a set of cards from the dealer (from a 28 card “half”* deck containing the cards 8, 9, 10, J, Q, K, A of all
suits) until they bust by exceeding the limit of 42 (or reach 42 exactly). There is no bust card if the player scores exactly 42 otherwise
the final score is the sum of the cards prior to the bust card (see scoring below). * “Half” deck in quotes since it is not exactly half a
standard 52 card deck!
The house then deals on their own behalf against the players .. Highest score wins! A draw, where both the player and house score
the same result, is a no contest and the bet is returned to the player. The game then proceeds to the next round where the process
of betting and dealing continues.
Attachments: