App 5 - AtishAppadu/C-console-apps- Wiki

App05: Rock-Paper-Scissors Game

Description

Rock paper scissors is a hand game usually played between two people, in which each player simultaneously forms one of three shapes with an outstretched hand. These shapes are "rock", "paper", and "scissors". This application will be a console version where the user plays against the computer.

RSP Image

Features

The application should:

  1. Display a suitable application heading
  2. Allow the player to enter their name and how many rounds make up one game
  3. Let the player select between Rock, Paper and Scissors
  4. Randomly select between Rock, Paper and Scissors
  5. Update the game score at the end of each round.
  6. Display who the winner is at the end of a game.
  7. Ask the player at the end of a game if they want to play again.
  8. Restart the game if required.

Design

UML: Use Case Diagram (28 Marks)

to be inserted by the student

UML: Class Diagram (28 Marks)

to be inserted by the student

Testing

Example Screen Shots of each feature

Black Box Testing

to be inserted by the student

Evaluation (10 Marks)

The student should add five limitations or useful extensions that could be added to the application

  1. Improvement, Extension or limitation
  2. Improvement, Extension or limitation
  3. Improvement, Extension or limitation
  4. Improvement, Extension or limitation
  5. Improvement, Extension or limitation