Dump of random scripts or tools for the purpose of working samples.
Project from CodeCademy, running python2.
OCEAN = "O"
MISS = "-"
SHIP = "S"
HIT = "X"
3 attempts to guess a number between 1-10.
Rock Paper Scissor Lizard Spock project from CodeCademy.
RULES:
- Scissor cuts paper
- Paper covers rock
- Rock crushes lizard
- Lizard poisons Spock
- Spock smashes scissor
- Scissor decapitates lizard
- Lizard eats paper
- Paper disproves Spock
- Spock vaporizes rock
- Rock crushes scissor
Calculate the tip amount for 10%, 15%, and 20%