Object Oriented Programming Class Projects
Rock Paper Scissors Lizard Spock
This is a text based implementation of the classic game from The Big Bang Theory. As explained in this video, the game of rock paper scissors lizard spock has a number of rules to follow that are best understood visually. The following diagram demonstrates how points are scored.
The game is played as follows:
- The player chooses a hand either numerically by choosing a number between 1 and 5, or by entering the name of the hand shape chosen.
- The computer randomly chooses a shape to throw.
- The round winner is determined.
- A point is awarded to the winner of the round.
- Gameplay continues until either the player or the computer reach 3 rounds won in which the winner of the game is determined.
Gameplay:
To play for yourself, check out the GitHub repository!
Speech Synthesizer
Computer voices always sound a bit off. The words are familiar, yet their tempo and articulation are unlike any commonly spoken English. A speech synthesizer provides the perfect balance between eeriness and comfort to make you laugh.
This program implements a speech sythesizer to read a song’s lyrics from a .txt file.
Check out the GitHub repository!