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

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.

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.