Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Attack on Titan - Parallel World Several hundred years ago, humans were nearly exterminated by giants. Giants are typically several stories tall, seem to have
Attack on Titan - Parallel World Several hundred years ago, humans were nearly exterminated by giants. Giants are typically several stories tall, seem to have no intelligence, devour human beings and, worst of all, seem to do it for the pleasure rather than as a food source. A small percentage of humanity survived by walling themselves in a city protected by extremely high walls. Fortunately, the weapons were invented in recent years found effective to kill the titans. Problem statement As a programmer, you need to build a tower defense game in JAVA which allows the player to protect the residents within the wall from the titans. Basic Requirements Game Interface HOUR Coin 10 1 2 1 4 5 The Wal Index ME 50 50 50 50 50 50 50 50 50 50 Player's tus Chocan the weapons you would like to upgrade tre string of integer rast Enter to atsp 1 Wall 10 unit walls, each unit has 50 HP (Hit points/Health) Whenever any wall unit has it's HP equal to 0 or lower, the player lose Coin The only resource in the game Initial number = 50 coins Add 5 coins every hour Weapon There's weapons on the walls Each wall unit has 1 weapon Weapon has 3 levels, different levels come with different attack points Level 1 = 2 attack points, Level 2 = 5 attack points, Level 3 = 10 attack points To upgrade the weapon to level 1, the player has to pay respective number of coin based the damage of the next level To upgrade the weapon into level 1(attack = 2 points), 2 coins required To upgrade to level 2[attack = 5 points) 5 coins required To upgrade to level 3(attack = 10 points) 10 coins required Visualize the weapons on walls Ground 10 units X 10 units In front of the walls Titans only can position on the ground Titans There are 2 types of titans Colossus Titan and Armoured Titan They take damage when there's weapon on the lane the titan position at Overlapping Titans printed as "AC" Colossus Titan Only show up on row 9 Show up after 5 hours HP = 50, Attack = 10 points Move left or right randomly Armoured Titan Only show up on row 0 Show up after 5 hours HP = 100, Attack = 5 points Move closer to walls after every hour (randomly left or right) . When he reaches row 9(in front of the wall), Armoured Titan destroys the weapon on his lane When there's no weapon on the wall where Armoured Titan position at, he moves to closer wall with weapon by 1 unit When he's moving, he won't damage the wall When there's no weapon on the wall , Armoured Titan starts to damage one wall unit, not moving left and right Game Rules The Game started on Hour 0 Print the wall and ground For each hour, the enemy and the player takes turns After enemies' turn, the player will be given options First question: Choose the weapon(s) you would like to upgrade (Type a string of integer or hit Enter to skip) Second question: Do you want to upgrade all walls? (press 1 if yes, press Enter if no) Current coin number: (current coin number placeholder) Third question: How many HP do you want to add up to the wal(s)? Current coin number: (current coin number placeholder) If the player chooses walls in the third question(e.g. the player type 1234 indicating that he/she want to add the HP of wall units 1, 2, 3 and 4.), show the question How many HP do you want to add up to the wall(s)? Current coin number: (current coin number placeholder] If the coins are not enough to upgrade all weapons selected, the system will try to upgrade as many weapons as possible Example Player's turn so many do you want to add up to the walls) 2 current coin saber: 17 ZES Your money is not enough On the Ground Row BOUR 2 1 Coin: : Index 0 1 2 3 4 5 6 7 50 57 58 50 50 50 50 50 Choose the weapons lite grade of integer hat sets a. the walls they would the protesting at integer eller skip 1 . . 50 SS SS SS SS S to the stat Out on 17 The site and The sites remis On the round . Coin 15 ce 50 53 56 50 40 50 50 50 50 50 ties' tester to proced Attack on Titan - Parallel World Several hundred years ago, humans were nearly exterminated by giants. Giants are typically several stories tall, seem to have no intelligence, devour human beings and, worst of all, seem to do it for the pleasure rather than as a food source. A small percentage of humanity survived by walling themselves in a city protected by extremely high walls. Fortunately, the weapons were invented in recent years found effective to kill the titans. Problem statement As a programmer, you need to build a tower defense game in JAVA which allows the player to protect the residents within the wall from the titans. Basic Requirements Game Interface HOUR Coin 10 1 2 1 4 5 The Wal Index ME 50 50 50 50 50 50 50 50 50 50 Player's tus Chocan the weapons you would like to upgrade tre string of integer rast Enter to atsp 1 Wall 10 unit walls, each unit has 50 HP (Hit points/Health) Whenever any wall unit has it's HP equal to 0 or lower, the player lose Coin The only resource in the game Initial number = 50 coins Add 5 coins every hour Weapon There's weapons on the walls Each wall unit has 1 weapon Weapon has 3 levels, different levels come with different attack points Level 1 = 2 attack points, Level 2 = 5 attack points, Level 3 = 10 attack points To upgrade the weapon to level 1, the player has to pay respective number of coin based the damage of the next level To upgrade the weapon into level 1(attack = 2 points), 2 coins required To upgrade to level 2[attack = 5 points) 5 coins required To upgrade to level 3(attack = 10 points) 10 coins required Visualize the weapons on walls Ground 10 units X 10 units In front of the walls Titans only can position on the ground Titans There are 2 types of titans Colossus Titan and Armoured Titan They take damage when there's weapon on the lane the titan position at Overlapping Titans printed as "AC" Colossus Titan Only show up on row 9 Show up after 5 hours HP = 50, Attack = 10 points Move left or right randomly Armoured Titan Only show up on row 0 Show up after 5 hours HP = 100, Attack = 5 points Move closer to walls after every hour (randomly left or right) . When he reaches row 9(in front of the wall), Armoured Titan destroys the weapon on his lane When there's no weapon on the wall where Armoured Titan position at, he moves to closer wall with weapon by 1 unit When he's moving, he won't damage the wall When there's no weapon on the wall , Armoured Titan starts to damage one wall unit, not moving left and right Game Rules The Game started on Hour 0 Print the wall and ground For each hour, the enemy and the player takes turns After enemies' turn, the player will be given options First question: Choose the weapon(s) you would like to upgrade (Type a string of integer or hit Enter to skip) Second question: Do you want to upgrade all walls? (press 1 if yes, press Enter if no) Current coin number: (current coin number placeholder) Third question: How many HP do you want to add up to the wal(s)? Current coin number: (current coin number placeholder) If the player chooses walls in the third question(e.g. the player type 1234 indicating that he/she want to add the HP of wall units 1, 2, 3 and 4.), show the question How many HP do you want to add up to the wall(s)? Current coin number: (current coin number placeholder] If the coins are not enough to upgrade all weapons selected, the system will try to upgrade as many weapons as possible Example Player's turn so many do you want to add up to the walls) 2 current coin saber: 17 ZES Your money is not enough On the Ground Row BOUR 2 1 Coin: : Index 0 1 2 3 4 5 6 7 50 57 58 50 50 50 50 50 Choose the weapons lite grade of integer hat sets a. the walls they would the protesting at integer eller skip 1 . . 50 SS SS SS SS S to the stat Out on 17 The site and The sites remis On the round . Coin 15 ce 50 53 56 50 40 50 50 50 50 50 ties' tester to proced
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started