Question: PLEASE USE BufferedReader NOTHING ELSE!!!!! THANK YOU! Level 4: Level 1 Battle Game Output must state You will open up a file that has the

PLEASE USE BufferedReader NOTHING ELSE!!!!! THANK YOU! Level 4: Level 1 BattlePLEASE USE BufferedReader NOTHING ELSE!!!!! THANK YOU!

Level 4: Level 1 Battle Game Output must state You will open up a file that has the folowing format 1. 2. 3. Line i: Line 2: Line 3: A title line and underline The number of battles total. The number of EACH battle The strength of each player The winner ef each battle Each battle is separated by a blank line Final line of output MUST state end of battles 5. 6. 7. Output Example for example File Line n Battle Game There will be 2 lines for each battle played There can be up to 100 battles Each player has an army that consists of one of S characters and each has the following strength Total of 3 battles Battle 1, Player :Strength of 19 Battle 1, Playe2: Strength of 6 Battle 1 Winner Player i blank line here K-Knight Fe Foot soidier A - Artiliery T " Tanker S- Saiper Strength2 Strength Strength-4 Strength 5 Strength-3 Battle 2, PlaeStrength of 17 Battle 2, Playe2:Strength of 17 Battle 2 WinnerTIE BATTLE Battle 3. Player Strength of 19 Battle 3, Playe2 Strength of 30 Battle 3 Winner : Player 2 Each member of the army is separated with a space, number of army forces-6 characters ALWAYS (to make End of Battles things easier Read in each pair of lines for a battle, and then determine who is the winner, lplayer 1 or 2) or is it a tie Example Input File OUTPUT MUST BE EXACT! Indicates there are 3 battles/3 pairs if data lines KKASST (make using basic java, nothing advanced, no methods) AAASFF FATTFF ATSFKA TIILI NOTE: There will ALWAYS be 6 "characters in an army ALWAYS (to simplify the solut

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!