Meghna-DAS / Dart-Assignment--Stone-Paper-Scissors

This is a stone paper scissors game. User can play it with a computer. Final score is given after all the rounds specified by the user are completed. Winner is declared thereafter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dart-Assignment--Stone-Paper-Scissors

General Information 🤷‍♀️

This is a stone paper scissors game.
User can play it with a computer.
Final score is given after all the rounds specified by the user are completed
Winner is declared

Rules of the Game 🤷‍♀️

  1. Stone VS Scissors- Stone WINS
  2. Scissors VS Paper- Scissors WINS
  3. Paper VS Stone- Paper WINS
  4. If both select same then its a tie

Technologies 👩‍💻

Dart

Steps to do the assignment🤩

  1. Define Rules of the Game
  2. Define player and computer intial score
  3. Specify options which the computer can choose
  4. Ask user for number of rounds that he/she wants to play for
  5. Start Game
  6. If user and computer choices are same then tie
  7. If user's choice and computer's choice do not match
    i) User has higher authority choice- User wins
    ii) Computer has higher authority choice- Computer wins
  8. Check if all rounds completed
  9. Display final score and winner
  10. End Game

Creator Information👩‍💻

Name: Meghna Das
PRN: 19030121053
Course: BCA
Semester: IV
Division : A
Subject: Current Trends and Information Practices

Gallery😎

image

Exception Handling😮

image image

About

This is a stone paper scissors game. User can play it with a computer. Final score is given after all the rounds specified by the user are completed. Winner is declared thereafter.


Languages

Language:Dart 100.0%