A beautiful and interactive iOS app that simulates rolling two dice with realistic animations and responsive design.
- Random Dice Rolling: Tap the "Roll" button to generate random dice faces (1-6)
- Smooth Animations: Enjoy subtle button press animations and dice rotation effects
- Responsive Design: Fully responsive layout that works on all iPhone screen sizes
- Auto Layout: Proper constraints ensure the app looks great in both portrait and landscape
- Vegas-Style UI: Clean, modern interface with a green felt background
- Swift: Modern iOS development language
- UIKit: Apple's UI framework
- Auto Layout: Responsive design system
- Core Animation: Smooth animations and transitions
- Xcode Interface Builder: Visual UI design
- Launch the app - You'll see two dice showing face 1 and the Dicee logo
- Tap "Roll" - The button will animate and both dice will rotate and show random faces
- Enjoy - Each roll generates completely random results, just like real dice!
- ✅ Fixed random dice generation (was previously sequential)
- ✅ Added proper array bounds checking
- ✅ Implemented smooth animations for better user experience
- ✅ Organized code with clear comments and structure
- ✅ Converted from fixed frames to Auto Layout constraints
- ✅ Made the app responsive across all iPhone screen sizes
- ✅ Added button press animations
- ✅ Added dice rotation animations
- Open
Dicee-iOS13.xcodeprojin Xcode - Select your target device or simulator
- Build and run the project (⌘+R)
- Enjoy rolling the dice!
Dicee-iOS13/
├── ViewController.swift # Main app logic
├── Main.storyboard # UI layout with Auto Layout
├── Assets.xcassets/ # Dice images and app assets
└── Info.plist # App configuration
- Green Felt Background: Authentic casino-style appearance
- High-Quality Dice Images: Crisp, clear dice faces for numbers 1-6
- Professional Logo: Dicee branding at the top
- Red Roll Button: Stands out against the green background
- Minimum iOS Version: iOS 13.0+
- Target Devices: iPhone (all screen sizes)
- Orientation Support: Portrait and Landscape
- Memory Management: Efficient image handling and animation cleanup
Created with ❤️ using Swift and UIKit
This project demonstrates fundamental iOS development concepts including UI design, user interaction, animations, and responsive layouts.