Create and test an application in java that will allow a user to create a text file to store data values associated with Player objects. The application will provide a menu for a user to display an encrypted list, display a decrypted list, add, update, and delete the Player data record in the text file. The menu will also contain a help command for the user to display the menu and an exit command to stop the execution of the application.
The menu will also have a and according to the specifications below. Attached are photos of the example of how the code should be out putted.
1. There are many ways to design a solution to this problem but you are graded on meeting the specific specifications as given in this exam.
2. Use proper statement indentation and meaningful variable names in the code.
3. Place a multi-line Javadoc comment (not multiple single line comments) giving a description of what this application does before the class header. Include your name and the date:
4. Output spacing, formatting, and spelling are to match the example console output illustrated above, but of course the user input will be different.
5. Display a menu for a user to display an encrypted list, display a decrypted list, add, update, and delete the Player data record in the text file. It will also provide a help command and exit command.
6. Implement each option on the menu.
7. Create and use a DAO interface as described in the textbook for this application. Create any other classes you need to meet the specifications as given.
8. Eliminate this specification
9. The Player password must be at least 8 characters in length and no more than 20 characters in length.
10. Create a class named Player. It has three instance variables. One is for the player's name, one for the amount of money the player has, and one for the players password. Create getter and setter methods for all the instance variables. Create any other methods necessary to meet all the specifications given in this exam.
11. Create two Player constructors. One will have no parameters and one will have the name, password, and the amount of money parameters.
12. The password secret encryption algorithm is sequenced below:
13. The password is stored and displayed as encrypted. The Player class will also have a method to display the decrypted password.
14. Add and use the Console class from chapter 7 or a modified version to validate all user input data.
15. Create three packages to hold the six classes in the application. One to contain the player class, one to contain the I/O (input/output) classes, the third to contain the class with the main method and its other methods. Give the packages appropriately descriptive names. See page 327 for help.
16. Prompt the user for data.
17. Validate the data so only acceptable values will be processed. If the user enters invalid data at any time in the application, the application should display an appropriate error message and prompt the user again until the user enters valid data. See example console display test above. See example console display file.
18. Format currency values where illustrated in example output above. Look up NumberFormat class in index of textbook for help.
19. Eliminate this specification.
20. Add Javadoc comments to describe the purpose of every class in the application. See pages 336-337.
21. Add Javadoc comments to describe the purpose of every method in the application include @param and @return comments. See pages 338-339.
22. Upon completion of the application generate the Javadoc documentation file. Be sure it includes the entire application documentation. See pages 340-341.