An open API service indexing awesome lists of open source software.

https://github.com/devika7300/dice-game


https://github.com/devika7300/dice-game

swift xcode

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# Dice Game iOS Application

Welcome to our Dice Game, an exciting and engaging iOS application built with Swift! This game combines luck, strategy, and fun as you roll the dice and bet on the outcomes. Perfect for casual gamers and those who enjoy a good challenge, our Dice Game is sure to provide hours of entertainment.

# Features

**User-friendly Interface:** Our game features an intuitive interface with easy-to-use controls, including a slider for setting bets and a roll button to start the action.

**Strategic Betting System:** Before rolling the dice, decide how much you want to bet using the adjustable slider. Your bet determines the potential points you can win.

**Point System:** Earn points based on how close your bet is to the sum of the rolled dice. The closer you are, the more points you get!
Engaging Gameplay: With each roll, feel the anticipation as you aim to match or get close to your bet to earn points and beat your high score.

# How to Play

**Set Your Bet:** Before you can roll the dice, you need to set your bet. Use the slider at the bottom of the screen to choose how much you want to bet. The slider allows for fine control over your bet, so you can decide on the strategy that works best for you.

**Roll the Dice:** Once your bet is set, hit the 'Roll' button to roll the dice. The fate of your bet depends on the sum of the numbers that come up. Watch as the dice roll and come to a stop, revealing their numbers.

**Scoring:**
Perfect Match: If the sum of the numbers rolled exactly matches your bet, you're in luck! You'll receive 100 points for your precise prediction.
Close Call: If the sum of the rolled numbers is within two units of your bet (either above or below), you'll still earn points for being close. A sum within this range grants you 50 points, rewarding your near-perfect guess.

img