Review Projects for CS 2 and 3 for Lakeside
The projects in this repository are rock-paper-scissors-spock and game-of-tag.
Program can run a simple game of rock-paper-scissors, or it can run a much more complex game of rock-paper-scissor-spock-lizard (and, this isn't tested, but it could probably also run a 15 weapon game!). The program will prompt you to enter a weapon and then will return the result of the battle between you and the computer. Once you end your game, it will show you the statistics of how many times you/the computer won.
- cd into /rock-paper-scissors-spock
- run
javac RPSLSp.java
in terminal - run
java RPSLSp
in terminal - play!
In game of tag, a linked list is presented with those who are still chasing each other and who are tagged. You choose who gets tagged and that TagNode is brought to the losers linked list. Once one TagNode remains the game ends.
- cd into /game-of-tag
- run
javac TagManager.java
in terminal - run
java TagMain
in terminal - play!