Skip to content

dopplesoldner/RPSLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

RPSLS

Simple Rock paper scissor lizard spock game (Python version 3.3)

Rock-paper-scissors-lizard-Spock is a five-gesture expansion of the classic selection method game rock-paper-scissors. It operates on the same basic principle, but includes two additional weapons: the lizard (formed by the hand as a sock-puppet-like mouth) and Spock[1] (formed by the Star Trek Vulcan salute). This reduces the chances of a round ending in a tie. The game was invented by Sam Kass with Karen Bryla, as "Rock Paper Scissors Spock Lizard"

##Rules##

The rules of Rock-paper-scissors-lizard-Spock are:
Scissors cut paper
Paper covers rock
Rock crushes lizard
Lizard poisons Spock
Spock smashes (or melts) scissors
Scissors decapitate lizard
Lizard eats paper
Paper disproves Spock
Spock vaporizes rock
Rock breaks scissors

[Source: http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock]

##Usage##

Execute the python script as follows

$ rpsls.py <player choice>

$ rpsls.py rock
Player chooses  rock
Computer chooses  paper
Computer wins!

##Licence##

RPSLS - Simple Rock Paper Scissor Lizard Spock game

Copyright (C) 2013 Mohammad Rashid

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

About

Simple Rock paper scissor lizard spock game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages