The required functionalities should be:
Initialize the deck;
Shuffle the deck (using the random library);
Assign the dealer and the player there first two cards (with the method pop() function for arrays);
Show the player his two cards and the dealers first card the other remains hidden;
Let the player draw another card. Include a control mechanism if he goes above 21 or hits 21;
When the player is finished, let the dealer show his seconds card and let him draw card according to the rules;
Show the winner and the final card scores;
Reset the game.
Include a documentation on program, what and why is done.
Write the program as a Jupyter Notebook: include the documentation in the Jupyter Notebook or in and additional PDF document.
Язык разработки
Python
Десктоп программирование
Программы на заказ
Контакты
Контакты видны только пользователям с аккаунтом pro