Skip to content

emilvaklinov/BlackJack-52deck

Repository files navigation

BlackJack-52deck

Task

Given a deck of 52 cards, develop an application that would help a user play a simplified version of the Blackjack game.

User should see the total amount of points made and on tapping a button, a random card from the deck should be extracted. The total points should be updated and the card removed the deck.

The game is won when user reaches 21 points and lost for any value above. Once the game has ended, a button to restart it should be visible.

Card 2 3 4 5 6 7 8 9 10 Ace Jack Queen King
Points 2 3 4 5 6 7 8 9 10 1 2 3 4

It is recommanded to use a TDD approach while implementing the solution.

Development Platform

  • iOS 13.0 (Minimum deployment traget) and XCode 11.3/12+
  • Swift 5.0+,
  • UIKit
  • Documentation added

Running site locally

The app can be runed by Xcode simulator. To run the app on a device you need to choose team certificate.

Version Control

  • The app is under a git hub repository.

Swift architecture

  • The application is built with an MVC design pattern.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages