Requirements for the Online Blackjack Game
Learn about all requirements of the online Blackjack game.
We'll cover the following
In this lesson, we’ll list the requirements of the online Blackjack game. This is a very crucial step since requirements define the scope of a problem, so getting them right from the interviewer and understanding them well will make the design of the rest of the system smooth and easy.
We’ll use the notational convention to identify each requirement with a unique label "Rn", where "R" is short for Requirement and "n" is a natural number.
Requirement collection
The requirements for the Blackjack design problem are defined below:
R1: The Blackjack game contains the shoe of cards which contains one or more decks of cards in it.
R2: The deck will consist of 52 cards in four suits, where each suit contains 13 cards: The ace, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, and King.
R3: Every card has points associated with it. The criteria to calculate the face value of the card is as follows: