Advertisement
akosiraff

Download Game Cards Management System JAVA Answer

Apr 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/game-cards-management-system/
  3. 1. Overview
  4. This assignment aims to establish a basic familiarity with the JDK development system and its associated on-line Java API class documentation. Students should apply the appropriate fundamental programming concepts (such as variables, constants, arrays, strings, methods, selection and repetition constructs etc.) and make use of appropriate Java API classes (such as Scanner, PrintWriter, String etc.) that they have learnt to solve the given problem.
  5. 2. Objectives
  6. On completion of this assignment a student should be able to write simple Java application
  7. that:
  8. • Makes use of selection and repetition constructs to achieve desired outcomes
  9. • Stores data to and reads data from arrays
  10. • Generates output to and reads input from the console window
  11. • Reads data from and writes data to text file
  12. • Manipulates string using Java API “String” class
  13. • Handles basic errors
  14. • Applies object-oriented concepts
  15. 3. Scope
  16. This assignment is based on individual effort. You are required to design, develop and test a Game Cards management system for a game application.
  17. Besides providing the required functionalities, your program should incorporate appropriate error handling. Comments are also to be inserted to improve program clarity. Before you start coding your program, you are strongly advised to carry out proper problem analysis and program design. You are required to use JDK 1.5 developer version or later.
  18. 4. Requirements
  19. This application allows the admin to
  20. 1. Admin login
  21. 2. Create a game card
  22. 3. Delete a game card
  23. 4. Edit a game card information
  24. 5. Search and display game cards information
  25. 6. Export game cards information
  26. 7. Change admin password
  27. 8. Logout
  28. This application will have access to two text files.
  29. The first text file (Admin.dat) contains the administrator-hashed password (SHA-256).
  30. For example
  31. be4b826c27636ab54a8bf15d73fc1bf2a533f547f2343d12a499d45643453ad4
  32. The second text file (GameCards.dat) contains the game card information in the following format
  33. |||||
  34. For example
  35. Zeus|God of the Sky|30|15|40|15
  36. Poseidon|God of the Sea|20|50|15|15
  37. Demeter|Goddess of Agriculture|55|25|15|5
  38. Ares|God of War|20|10|10|60
  39. Note: When a game card is created, all the elements power should add up to 100.
  40. Error Handling
  41. Your program should be able to handle error situations. For example where a game card name already existed (for Create a game card) or game card name not found (for delete game card). You should look out for other possible exceptions and handle them too.
  42. For Export game card information requirement, the program should produce a file (GameCardsData.dat) with the following format:
  43. CSCI213 Game Cards Management System
  44. Game Card 1
  45. Name: Zeus
  46. Description: God of the Sky
  47. Earth Element Power: 30
  48. Water Element Power: 15
  49. Air Element Power: 40
  50. Fire Element Power: 15
  51. Game Card 2
  52. Name: Poseidon
  53. Description: God of the Sea
  54. Earth Element Power: 20
  55. Water Element Power: 50
  56. Air Element Power: 15
  57. Fire Element Power: 15
  58.  
  59. Download: https://solutionzip.com/downloads/game-cards-management-system/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement