These files are presented as plain Java files (.java extension).
To run them, you can simply download the files and add them into your favorite Java IDE that you're familiar with, or you can
view instructions for how to run them in the Windows Command Prompt.
Enjoy!
- RockPaperScissors:
This is a console application of the classic Rock, Paper, Scissors game. The user selects either "Rock", "Paper", or "Scissors", and the computer also chooses one of the options. Then, the two choices are pitted against each other to see who wins. Rock wins over scissor, Scissor wins over paper or rock, and Paper wins over rock. If the user and computer select the same item, then it's a tie. - Password_Verifier:
This application tests a password to see if it meets the requirements. Using dialog I/O, the user provides his desired password, which is automatically tested. If it meets all the requirements, the user gets a confirmation that his password has been changed. Otherwise, the user can try to input a password again. A valid password contains at least 6 characters, with at least 1 uppercase, 1 lowercase letter, and 1 digit. - Characters:
This is an algorithmic console application which will tell you how many of each character are inside of a string. For example, if you enter "Hurray", you will be get a result similar to: H:1, U:1, R:2, A:1, Y:1. It is telling you how many times each letter appears in the string. - String_Reverser
This is an algorithmic console application which will reverse any string that you provide. For example, if you enter "Hurray", you will get a result similar to: yurraH.