Question: Working on a project please help! Step 1:Get the game working with only basic characters no warriors, aliens, etc) Design and code a program that
Step 1:Get the game working with only basic characters no warriors, aliens, etc) Design and code a program that simulates a game being played where characters perform certain actions. The main parts of the program are as follows: The program will read a text file called "characterInfotkt" that contains information about characters and it will create objects for those characters and store them in an amay or ArrayList. The program will read from another text file called "characterActions tkt" that contains a series of actions that the characters should perform. For each action, the program should use the character objects to perform those actions and output a related message. Following is an example of input files that could be provided to the program and the output that would be produced by the program (NOTE: the format of the data in the following file is: character type character name,character attack strength) character Info txt Basic Sue 15. Basic Tom 12 (NOTE: the format of the following file is: nameaction if there is a 3rd data item it is the character being attacked) characterActions txt Sue,speak Tom display health Sue attack,Tom Tom display health Sue says hi my name is Sue Tom's health level is 100 Sue attacks Tom Tom's health level is 85 Following are the specifications for the basic game characters for part 1 Step 1:Get the game working with only basic characters no warriors, aliens, etc) Design and code a program that simulates a game being played where characters perform certain actions. The main parts of the program are as follows: The program will read a text file called "characterInfotkt" that contains information about characters and it will create objects for those characters and store them in an amay or ArrayList. The program will read from another text file called "characterActions tkt" that contains a series of actions that the characters should perform. For each action, the program should use the character objects to perform those actions and output a related message. Following is an example of input files that could be provided to the program and the output that would be produced by the program (NOTE: the format of the data in the following file is: character type character name,character attack strength) character Info txt Basic Sue 15. Basic Tom 12 (NOTE: the format of the following file is: nameaction if there is a 3rd data item it is the character being attacked) characterActions txt Sue,speak Tom display health Sue attack,Tom Tom display health Sue says hi my name is Sue Tom's health level is 100 Sue attacks Tom Tom's health level is 85 Following are the specifications for the basic game characters for
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
