https://github.com/jasminemlewis/rock-paper-scissors
Rock Paper Scissors, a Ruby program, is the classic game using Object Oriented Programming to play against the computer.
https://github.com/jasminemlewis/rock-paper-scissors
game ruby
Last synced: 18 days ago
JSON representation
Rock Paper Scissors, a Ruby program, is the classic game using Object Oriented Programming to play against the computer.
- Host: GitHub
- URL: https://github.com/jasminemlewis/rock-paper-scissors
- Owner: jasmineMLewis
- Created: 2019-05-21T03:51:31.000Z (about 7 years ago)
- Default Branch: Production
- Last Pushed: 2024-06-22T06:20:15.000Z (about 2 years ago)
- Last Synced: 2025-12-01T14:53:31.258Z (7 months ago)
- Topics: game, ruby
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rock Paper Scissors
Rock Paper Scissors, a Ruby program, is the classic game using Object Oriented Programming to play against the computer.
# Technology Used
BackEnd
Ruby
# How to Play
1. The user should enter rock, paper, or scissors
2. The computer will choose a random value
3. After each turn display the score (user wins vs. computer wins).
4. Whichever player reaches five wins first is the winner!
Rules
1. If you choose Rock, you will win against Scissors but lose against Paper.
2. If you choose Scissors, you will win against Paper but lose against Rock.
3. If you choose Paper, you will win against Rock but lose against Scissors.