Roll DiceAugust 18, 2021
Final training project from 100 Days SwiftUI Course. Thanks a lot Paul Hudson for amazing course for beginners.
You need to build an app that helps users roll dice then store the results they had.
First, Core Data was connected and configured. That allowed the storage and processing of data about the game settings and all the throws made by the player.
Next, I created a button on the Navigation Bar, which opens a sheet with dice configuration, where the user can choose their quantity and color.
I used icons from the library of iconography SF Symbols to give the dice their appearance. To get the dice to move by touch, I used gesture to my view. To achieve an approximate 3D effect, I applied rotation3DEffect, which made the dice slightly convex in shape.
Further, when the animation set the dice in motion, I quickly and discreetly changed the icon to another random value to give the throw reality and meaning. After a roll of the dice, the results are written to the database and displayed on the results view.
I successfully completed the 100 Days of SwiftUI course and earned a certificate of completion. This final project led me to my first SwiftUI development contract.
Find Couple0 commits 0 ++ 0 --
A small game as a technical task for work from Arbita company.
August 13, 2021
Touch Ten0 commits 0 ++ 0 --
Simple game as a technical task for work from Gravity company.
August 18, 2021