This webpage will allow two users to play the Extreme version of Rock, Paper, Scissors and display the winner.
- Fork and clone this repository from [gitHub]https://github.com/ericaw21/rockpaperscissors.git.
- Run
composer install --prefer-source --no-interaction
from project root - Create a local server in the /web directory within the project folder using the command:
php -S localhost:8000
- Open the directory http://localhost:8000/ in any standard web browser.
- Or open Live Site
Behavior | Input | Output |
---|---|---|
User selects single game and presses "Play!" | "Single" | Single Player UI is displayed |
Users enter an option | User: "Rock" | "Player 1's Rock beats Computer's Scissors" |
User selects 2 Player game and presses "Play!" | "2 Player" | Two Player UI is displayed |
Two users enter an option | User 1: "Rock" User 2: "Scissors" | "Player 1's Rock beats Computer's Scissors" |
Two users enter the same option | User 1: "Rock" User 2: "Rock" | "Draw" |
User presses the clear game button | "Clear Game" | all previous games are wiped and the home screen is displayed |
No known bugs.
Please contact [email protected] or [email protected] with questions or concerns.
- HTML
- CSS
- Bootstrap
- PHP
- Silex
- Twig
- Composer
MIT license
Copyright (c) 2017 {Erica Wright & Matt Kelley} All Rights Reserved.