Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ytasheva/rock-paper-scissors

Construct a rock-paper-scissors game utilizing for loops, arrays, and conditional logic
https://github.com/ytasheva/rock-paper-scissors

css html javascript

Last synced: 14 days ago
JSON representation

Construct a rock-paper-scissors game utilizing for loops, arrays, and conditional logic

Awesome Lists containing this project

README

        

# Rock-Paper-Scissors

## Table of contents

- [Overview](#overview)
- [The Challenge](#the-challenge)
- [Rules for rock-paper-scissors](#rules-for-rock-paper-scissors)
- [Acceptance Criteria](#acceptance-criteria)
- [Screenshot](#screenshot)
- [Links](#links)
- [Built With](#built-with)
- [Author](#author)

## Overview

### The Challenge

- Construct a rock-paper-scissors game utilizing for loops, arrays, and conditional logic.

### Rules for rock-paper-scisors

* Rock: wins against scissors, loses to paper, and ties against itself.
* Paper: wins against rock, loses to scissors, and ties against itself.
* Scissors: wins against paper, loses to rock, and ties against itself.

### Acceptance Criteria

* As a user:
* I want to play Rock, Paper, Scissors against an automated opponent.
* I can enter Rock, Paper, or Scissors to signify my choice of rock, paper, or scissors.
* I expect the computer to choose Rock, Paper, or Scissors in return.
* I want the option to play again whether I win or lose.
* I want to see my total wins, ties, and losses after 10 rounds.

* The computer's selection must be random to ensure a fair game.

### Screenshot

Screenshot 2023-11-11 at 14 49 41

### Links
- Solution URL: (https://github.com/YTasheva/Rock-Paper-Scissors)
- Live Site URL:(https://ytasheva.github.io/Rock-Paper-Scissors/)

### Built With

- JavaScript, HTML, CSS

## Author

- Github - [Yuliya Tasheva](https://github.com/YTasheva)