Pro | Information Systems homework help

  

The task is to design and develop a prototype for one of the features of an application which tracks the performance of the players. 

The Application features a game with a number of levels; on successful completion of a level, a player moves to the next level. Players can register directly with the app itself or by supplying identification information from one of a number of linked social media apps.

Player data is stored in a single file either as delimited text format or object file. Player details are    Id, Player Name, Image Filename, Current Level, Number of Attempts at Current Level, and, Total Points earned. For social media players the social media app name and identifier are stored.

Requirements

Develop a project with console menu-driven application. The project should contain a controller class with stubs for methods implementing the requirements listed below: 

1. Load player performance information from a specified file into a players collection implemented using a repository

2. Add a new player with default values for current level, attempts and points and remove a player from the list.

3. List all players in ascending order of overall points earned

4. Update a player’s performance data after an attempt at a level – overall points earned should be updated. On successful completion of a level the player should move to the next level and attempts returned to 0; otherwise, number of attempts should be incremented

5. Persist the collection to a specified file

The project should contain a model, repository and controller classes. A sample delimited text file is additionally supplied.

Development Approach

An incremental development approach should be used with the following increments:

  1. Load players from      a file and list in name order

This fulfils Requirement 1. To complete this increment you should:

a. Complete the Player and SocialMediaPlayer classes with required fields and methods 

b. Decide on which type of collection you want the repository to define and make the necessary adjustments to the Repository class and RepositoryInterface.

c. Partially complete the GameController class by completing the constructor method which creates a new Repository object from a file if specified by the user

d. Partially complete the GameController class to implement the listPlayers() method

e. Create a DAOImpl class to realize the DAOInterface using either text file or object file format

f. Modify the Repository class to use the DAOImpl class to load players from a specified file

Document the results of your testing using screen snippets copied into a Word document. Take a copy of the GameController class and name it as GameController_Increment1.java.

  1. Add new Player

This fulfils Requirement 2. To complete this increment you should:

a. Fully implement the addPlayer() method in the GameController class; this should ask the user for required details, create a new Player or SocialMediaPlayer object and add it to the Repository object.

Document the results of your testing using screen snippets copied into a Word document. Take a copy of the GameController class and name it as GameController_Increment2.java.

3. Remove a player from the list

This fulfils Requirement 2. To complete this increment you should:

Enter the player id and remove player details from the list based on the entered id.

  1. List players in ascending      order of points earned

This fulfils Requirement 3. To complete this increment you should:

a. Complete the listPlayersInPointsOrder() method in the GameController class.

b. Ensure the Player class defines a method to compare players on the totalPointsEarned attribute.

Document the results of your testing using screen snippets copied into a Word document. Take a copy of the GameController class and name it as GameController_Increment3.java.

  1. Update Player      Performance Data

This fulfils Requirement 4. To complete this increment you should:

a. Complete the updatePlayer() method in the GameController class. The number of points earned in this attempt should be entered and whether or not the level has been completed.

Document the results of your testing using screen snippets copied into a Word document. Take a copy of the GameController class and name it as GameController_Increment4.java.

  1. Persist player      collection to a file

This fulfils Requirement 5. To complete this increment you should:

a. Implement the store() method of the DAOImpl class if you have not already done so.

b. Implement any necessary toString(DELIMITER) methods.

Document the results of your testing using screen snippets copied into a Word document.

Marking Scheme

  

Marks

 

Player class

10

 

SocialMediaPlayer   class

10

 

Repository class

5

 

DAOImpl class

5

 

Increment1   GameController class

10

 

Increment2   GameController class

10

 

Increment3   GameController class

5

 

Increment4   GameController class

5

 

Increment5   GameController class

5

 

Use of nested   classes (inner/local/anonymous)

10

 

Use of abstract   & generic classes

5

 

UML Class diagram

10

 

Use of lambda   expressions

10

 

Total

100

Starter Project Test Run

run:

Game App

========

Players

=======

A. Add Player B. Remove Player C. List Players D. Update Player Q. Quit

Enter choice: 

A

Add Player

==========

Players

=======

A. Add Player B. Remove Player C. List Players D. Update Player Q. Quit

Enter choice: 

B

Remove Player

==========

Players

=======

A. Add Player B. Remove Player C. List Players D. Update Player Q. Quit

Enter choice: 

C

Players

=======

A. Add Player B. Remove Player C. List Players D. Update Player Q. Quit

Enter choice: 

D

Update Player

=============

Players

=======

A. Add Player B. Remove Player C. List Players D. Update Player Q. Quit

Enter choice: 

Q

Thank you for using Game App. Good bye.

Sample Delimited Text File

1,”Saleh”,”salehpic.jpg”,20,2,1500

2,”Salim”,”salpic.jpg”,1,0,0,”MyBook”,”[email protected]”

3,”Ibrahim”,”ibr.jpg”,15,1,100

Get 20% Discount on This Paper
Pages (550 words)
Approximate price: -

Try it now!

Get 20% Discount on This Paper

We'll send you the first draft for approval by at
Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

Custom Writings Help is a Quality-Oriented Company in Online Writing as a result of hiring exceptional professionals to execute clients' tasks.

Essays

Research Papers

At Custom Writings Help,We understand the struggle of research paper writing, and that is why at Custom WritingS Help, we are all out to help you. We pride ourselves on having a team of clinical writers. The stringent and rigorous vetting process ensures that only the 'BEST' Writers are chosen for the job. We have highly qualified Ph.D. and MA writers working with us; we equally offer these experienced writers specific bonuses and incentives to make them deliver highly original, unique, and informative content at reasonably low prices.

Admissions

Thesis Writing Service

Worlwide, Many Masters Students are struggling with Thesis Completion. A thesis is likely to be the longest and most challenging piece of work a student has ever completed. However, unlike essays and other assignments, a student can pick a particular interest topic and work on their initiative. Fortunately, we are there for you. At Custom Writings Help, you are assured of an authentic, imaginative, informative, linguistically great, and advantageous thesis that adheres to all your needs. So, why continue considering different writers when you have discovered the best in the field?

Editing

Custom Papers

Not a single student can avoid writing custom papers. However, a total lack of experience, skills, and time makes it very hard to produce a superb writing piece. Therefore, if you are seeking professional help, turn to us. Our specialized and experienced writers compose a variety of model papers, including custom essays, college term papers, research papers, book reports, MBA essays, executive summaries, dissertations, Ph.D. theses, admission essays, and research proposals for college and university students at any level.

Coursework

Essay Writing

Most of the students disregard the critical principles of essay writing and compose papers below sensible guidelines. Therefore, with Custom Writings Help, one should not worry about his/her essay. Our Writers compose informative and engaging content on all complexities and topics. We write meaningful and smart essays while prioritizing all aspects that bring about a good grade, such as impeccable grammar, proper structure, zero-plagiarism, and conformance to guidelines.

Coursework

Coourse Work Writing

Don't let the seemingly never-ending onslaught of writing assignments get you down. If you are looking where to get course work assistance online, the writers at Custom Writings Help are here to assist you with all of your writing needs. We undertake to unique delivery of papers that meet the professor's requirements. The content is proofread, edited, and checked plagiarism before submission to customers. No matter how big or small your work is, we will deliver on time. Try US Now! !

Coursework

Dissertation Writing Service

High-Quality Dissertation Writing Services are rare. They require Ph.D. academicians – not easily found. However, are an exception. The years, time, and resources we have invested in the dissertation world has given us a competitive advantage over others. Choose to come to Custom Writings Help; You will find perfect Ph.D. consultants who have written hundreds of dissertations theses ready to help you. Let our dissertation-writing services help you craft your dissertation, for you are assured we will give you the results.