diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 00000000..4723195d
Binary files /dev/null and b/.DS_Store differ
diff --git a/Dicee-iOS13.xcodeproj/project.xcworkspace/xcuserdata/jiezhu.xcuserdatad/UserInterfaceState.xcuserstate b/Dicee-iOS13.xcodeproj/project.xcworkspace/xcuserdata/jiezhu.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 00000000..8df3c48b
Binary files /dev/null and b/Dicee-iOS13.xcodeproj/project.xcworkspace/xcuserdata/jiezhu.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/Dicee-iOS13.xcodeproj/xcuserdata/jiezhu.xcuserdatad/xcschemes/xcschememanagement.plist b/Dicee-iOS13.xcodeproj/xcuserdata/jiezhu.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 00000000..9fbf1805
--- /dev/null
+++ b/Dicee-iOS13.xcodeproj/xcuserdata/jiezhu.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,14 @@
+
+
+
+
+ SchemeUserState
+
+ Dicee-iOS13.xcscheme_^#shared#^_
+
+ orderHint
+ 0
+
+
+
+
diff --git a/Dicee-iOS13/Assets.xcassets/.DS_Store b/Dicee-iOS13/Assets.xcassets/.DS_Store
new file mode 100644
index 00000000..6477ac06
Binary files /dev/null and b/Dicee-iOS13/Assets.xcassets/.DS_Store differ
diff --git a/Dicee-iOS13/Base.lproj/LaunchScreen.storyboard b/Dicee-iOS13/Base.lproj/LaunchScreen.storyboard
index 5f1a3f92..5609c845 100644
--- a/Dicee-iOS13/Base.lproj/LaunchScreen.storyboard
+++ b/Dicee-iOS13/Base.lproj/LaunchScreen.storyboard
@@ -1,8 +1,8 @@
-
+
-
+
@@ -18,11 +18,11 @@
-
-
+
+
-
+
diff --git a/Dicee-iOS13/Base.lproj/Main.storyboard b/Dicee-iOS13/Base.lproj/Main.storyboard
index a2019bf8..d492e24e 100644
--- a/Dicee-iOS13/Base.lproj/Main.storyboard
+++ b/Dicee-iOS13/Base.lproj/Main.storyboard
@@ -1,8 +1,8 @@
-
+
-
+
@@ -14,13 +14,54 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Dicee-iOS13/ViewController.swift b/Dicee-iOS13/ViewController.swift
index 8657151e..16a49153 100644
--- a/Dicee-iOS13/ViewController.swift
+++ b/Dicee-iOS13/ViewController.swift
@@ -9,12 +9,23 @@
import UIKit
class ViewController: UIViewController {
-
+
+ @IBOutlet weak var imageView1: UIImageView!
+ @IBOutlet weak var imageView2: UIImageView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
+
}
-
+ @IBAction func rollButton1(_ sender: UIButton) {
+
+ print("Press the button")
+ // constant variable is "let"
+ let arrayDice = [#imageLiteral(resourceName: "DiceOne"),#imageLiteral(resourceName: "DiceTwo"),#imageLiteral(resourceName: "DiceThree"),#imageLiteral(resourceName: "DiceFour"),#imageLiteral(resourceName: "DiceFive"),#imageLiteral(resourceName: "DiceSix")]
+ imageView1.image = arrayDice[Int.random(in: 0...5)]
+ imageView2.image = arrayDice[Int.random(in: 0...5)]
+ }
+
}
diff --git a/README.md b/README.md
index 500a12da..48273b37 100755
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
![App Brewery Banner](Documentation/AppBreweryBanner.png)
-# Dicee
+# Dicee-Forked
## Our Goal
@@ -28,4 +28,3 @@ We’re going to make a Las Vegas dice app. You can make the die roll at the pre
>This is a companion project to The App Brewery's Complete App Development Bootcamp, check out the full course at [www.appbrewery.co](https://www.appbrewery.co/)
![End Banner](Documentation/readme-end-banner.png)
-