Skip to content

A simple Rock Paper Scissors game implemented in Swift and SwifUI.

Notifications You must be signed in to change notification settings

rafaelfagundes/RockPaperScissors

Repository files navigation

Rock, Paper & Scissors Game

A simple Rock Paper Scissors game implemented in Swift and SwifUI.

Features

  • Play against the computer.
  • Simple and intuitive user interface.
  • Keeps track of the score.

Demo

Here are some screenshots of the game in action:

Screenshot 1 Screenshot 2

Requirements

  • iOS 14.0+
  • Xcode 12.0+
  • Swift 5.0+

Installation

  1. Clone the repository:
git clone https://github.com/rafaelfagundes/RockPaperScissors.git
  1. Open the project in Xcode:
cd rock-paper-scissors
open RockPaperScissors.xcodeproj
  1. Build and run the project on your iOS simulator or device.

Usage

  1. Launch the app.
  2. The computer will randomly select its move.
  3. Choose your move: Rock, Paper, or Scissors.
  4. The winner will be displayed and the score will be updated.

Future Improvements

  • Add a sound effect for each move.
  • Add animations.

About

A simple Rock Paper Scissors game implemented in Swift and SwifUI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages