ITECH1000 Java Programming Assignment Help

ITECH1000 Java Programming Assignment Help

ITECH1000 Java Programming Assignment Help

Requirement of the program

The user interface and functional requirement for designing and developing the “Pokémon battle ground” game given below:

User interface requirement

1.A welcome message when the program starts before initializing the programs.

2.A main menu after the program initialization completed.

3.The main menu should include the following options:

a.Battle Pokémon

b.View gym membership

c.View highest winner at a gym

d.View highest winner across all the gyms

e.Exit program

4.A second menu if user select the following option from main menu:

a.Battle Pokémon

b.View gym membership

c.View highest winner at a gym

5.The second menu should include the following option:

a.Select gyms (list of all the gyms)

b.Return to main menu

6.The winner for each gym should be display if the user selects the “View highest winner across all the gyms” option from main menu.

7.A “thanks user for using the systemmessage show on the screen if user select the ‘Exit program’ option from main menu.

8.Program author information is shown before the program terminated.

ITECH1000 Java Programming Assignment Help

Functional Requirement               

1.User can create the new Pokémon gym for each gym when the program initialize.

2.The gym name and location must be shown when created the Pokémon gym.

3.After creating the Pokémon gym, user can create the Pokémon.

4.Each Pokémon must have their name and type.

5.The user can create their own member.

6.All the individual members have their name and age.

7.The user can select the name for their member and one member must have the matching name to the user name.

8.One member must have the age under 13.

9.Every member has maximum four Pokémon and once the member has added the four Pokémon than further Pokémon can’t be added under the member.

10.After this the member can able to add their member under the Pokémon gym created earlier.

11.If any error occurs during adding the member under Pokémon gym or during adding the Pokémon under any member than a suggestion message “your initialization code must include attempted registration that result the cause of this issues” must be shown on the screen.

12.Advice must be shown on the screen for completing the initialization of program.

13.When the program is initialized then the program must perform the action or show the result in the readable format according to the option selected by user from main menu.

14.If the members of two gyms battle with each other than the winner must receive the one point and if in case both the winner have same strength than the number of wins increased by one point of both the user.

15.An invalid message shown on the screen if the user enters any invalid value and the user should be return to the main menu.

16.If the user wants to see the highest winner at a gym than the highest winner information shown on the screen in the readable format and if more than one member have same numbers of wins than the program only show the one member in the output and if both the member have no any wins than the program shows a message “results are not available” on the screen.

17.If the user want to see the highest winner across all the gym than all the members who has highest winner shown on the screen for all the three gyms.

18.The program also shown the linear search option to the user on the result screen of highest winner across gyms so that user can search which member has highest win across all the gyms.

Get More Information - Programming Assignment Help

Program Testing

I have created the several test cases to test the functionality of the Pokémon Gym java program which I have created. The actual test result shown below against the expected test result.

Test Cases

Expected Test Result

Actual Test Result

When the user starts the program.

The Pokémon Gym created for all the three gyms when initializing the program.

Yes, the Pokémon gym is created for all the three gyms

The member should be register and Pokémon will be adding to the Pokémon gym during initialize the program.

Yes, the member register under the Pokémon gym and Pokémon added under those members when initializing the program.

ITECH1000 Java Programming Assignment HelpFigure 1 when initializing the program

Test Cases

Expected Test Result

Actual Test Result

When the program is initialized

A welcome message will show on the screen and below the welcome message the main menu appears on the screen.

Yes, the welcome message is shown on the screen after initializing the program and main menu appears on the screen below the welcome message.

ITECH1000 Java Programming Assignment HelpFigure 2 when program is initialized

Test Cases

Expected Test Result

Actual Test Result

When the user select the Battle Pokémon option from main menu

The second menu will appear with the select gym option.

Yes, the second menu appear with the select gym option when the user select the battle Pokémon option from the main menu.

When user select the Gym from second menu list.

The Pokémon appear from which the member battle their Pokémon and winner message will show on the screen.

Yes, the pokemon appear and the winner message shown on the screen.

ITECH1000 Java Programming Assignment HelpFigure 3  when select the option Battle Pokémon

Test Cases

Expected Test Result

Actual Test Result

When the user select the view gym membership option from the main menu

The member name and age will show on the screen and below the member detail the Pokémon list shown which is associated with that member with their type and strength detail.

Yes, the member detail shown with their name and age and their associated Pokémon also shown on the screen with their type and strength. 

ITECH1000 Java Programming Assignment HelpFigure 4 when select the option view gym membership

Test Cases

Expected Test Result

Actual Test Result

When the user select the view highest winner at a gym option from the main menu

The gym name and the total number of winner shown of the gym and the member name also show who has highest win. After that the user will return to main menu.

Yes, the gym name and total number of winners shown on the screen and the member name also   showed who has the highest win under that gym and the user has shown the main menu on the screen after that.

ITECH1000 Java Programming Assignment HelpFigure 5 when select the option  view highest winner at a gym

Test Cases

Expected Test Result

Actual Test Result

When the user select the view highest winner across gyms option from the main menu

The gym name shown on the screen that has maximum or highest number of wins comparing all the three gyms and the member name also will show on the screen that has the highest number of wins under that gym.

Yes, the gym name and total number of wins shown on the screen and the member name also shown on the screen that has highest number of wins.

ITECH1000 Java Programming Assignment HelpFigure 6 when select the option view highest winner across gyms

Test Cases

Expected Test Result

Actual Test Result

When the user select the Exit program option from main menu.

A thanks message (Thanks for using the Pokémon Battle Game) option will show on the screen and after that the program author information will show on the screen.

Yes, The thanks message shown on the screen and the author of program also shown below the thanks message.  

ITECH1000 Java Programming Assignment HelpFigure 7 when select the option Exit program