New features#1
Merged
New features #1
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Title
New Version Of The Rock Paper Scissor - SheldonCooper
Summary
Sheldon Cooper from the TV show "The Big Bang Theory" introduced an extended version of the classic game Rock-Paper-Scissors, called Rock-Paper-Scissors-Lizard-Spock. This variation was designed to reduce the number of ties that occur in the original game. The rules are as follows:
Rock crushes Scissors and crushes Lizard
Paper covers Rock and disproves Spock
Scissors cuts Paper and decapitates Lizard
Lizard eats Paper and poisons Spock
Spock smashes Scissors and vaporizes Rock
This version of the game was created by Sam Kass and Karen Bryla to provide more outcomes and make the game more interesting.
Description
The changes are as follows:
Traditional Rock-Paper-Scissors:
Rock crushes Scissors.
Scissors cuts Paper.
Paper covers Rock.
Rock-Paper-Scissors-Lizard-Spock:
Rock crushes Scissors and crushes Lizard.
Scissors cuts Paper and decapitates Lizard.
Paper covers Rock and disproves Spock.
Lizard eats Paper and poisons Spock.
Spock smashes Scissors and vaporizes Rock.
Key Differences:
Number of Choices:
Traditional: 3 (Rock, Paper, Scissors).
Extended: 5 (Rock, Paper, Scissors, Lizard, Spock).
Interactions:
Traditional: Each choice interacts with the other two, leading to a total of 3 unique outcomes.
Extended: Each choice interacts with the other four, leading to a total of 10 unique outcomes.
Reduction of Ties:
The increased number of choices and interactions reduces the chances of both players choosing the same gesture, thereby decreasing the likelihood of a tie.
Increased Complexity:
Players need to remember more interactions and relationships between the gestures, adding an element of strategy and memory to the game.
Checks
in the repository
in the PR
Thank You,
Saman Mahdian