Question: I m tring to get this in Javascript, anyone can help me out? Final Proiect Outline Instructions The final project will be a waterdown re-creation
I m tring to get this in Javascript, anyone can help me out?





Final Proiect Outline Instructions The final project will be a waterdown re-creation of the favorite Dungeons and Dragons (DnD) program that I wrote on my Commodore VIC-20 back when I was in 7th grade. Back then I only had BASIC as a programming language and it took almost a thousand lines of code for the program. Today, with JavaScript, you can create way more elaborate and exciting versions of the same program in way fewer lines of code You will need to incorporate HTML and CSS into your final project, along with your JavaScript, and create a fully functioning website (remember to use proper file and folder structure). You can choose to either have a text-based version of the game, or you can make a more like GUI version of the game. Your game must have an intro, a description, the story for your game. It should give a history of events leading to the point your are starting from and explain the task that you need to accomplish. You should also include a thrilling conclusion story when the game is won. After the game is won, the game should end and ask the player if they want to play again. If the player chooses to play again, then the game should reset and start over after the introduction, else the game ends. If you choose to create a text-based version of the game, then you will need to include vivid details of what is going on, what is seen, and what options the player has (just saying move up down, left, or right is not suffice). if you choose to create a GUI, then there needs to be enough detail so that the player has the same information. So let's talk about the game. An awesome title, a great intro, a fun game and a few rules. In your program, you will have a main player (P1 as an example) and there will be one (possibility) random monster (P2 as an example) per move. The player will be prompted to enter a name and choose their attack, defence, and damage points. There may only be a total of 10 points between the three properties and each property must have at least 2 points Attack points determine whether or not the attacker makes a successful attack. So the more attack points the better the attacker has to making a successful attack. Defense points determine the chance of being hit. So the higher the defense points the better chance the defender has to not being hit, and thus getting damage taken away. Damage points is the amount of damage if the attack is successful. e . So the choice is, have a strong attack, a strong defence, or have a high damage roll. The player and monsters will be objects built from constructors. The object will have prototypes and contain properties and methods. OBJECT PLayer (P1) Monster (P2) Name Hit Points Attack Defence user input random pick 35 random 3 to 5 points The sum of these three properties cannot be greater than 10 and each property 6- P2.Attack must be 2 or more Damag X position Y position random 1 to 5 points NIA NIA PROTOTYPES isAlive (property) doAttack (method) true true Final Proiect Outline Instructions The final project will be a waterdown re-creation of the favorite Dungeons and Dragons (DnD) program that I wrote on my Commodore VIC-20 back when I was in 7th grade. Back then I only had BASIC as a programming language and it took almost a thousand lines of code for the program. Today, with JavaScript, you can create way more elaborate and exciting versions of the same program in way fewer lines of code You will need to incorporate HTML and CSS into your final project, along with your JavaScript, and create a fully functioning website (remember to use proper file and folder structure). You can choose to either have a text-based version of the game, or you can make a more like GUI version of the game. Your game must have an intro, a description, the story for your game. It should give a history of events leading to the point your are starting from and explain the task that you need to accomplish. You should also include a thrilling conclusion story when the game is won. After the game is won, the game should end and ask the player if they want to play again. If the player chooses to play again, then the game should reset and start over after the introduction, else the game ends. If you choose to create a text-based version of the game, then you will need to include vivid details of what is going on, what is seen, and what options the player has (just saying move up down, left, or right is not suffice). if you choose to create a GUI, then there needs to be enough detail so that the player has the same information. So let's talk about the game. An awesome title, a great intro, a fun game and a few rules. In your program, you will have a main player (P1 as an example) and there will be one (possibility) random monster (P2 as an example) per move. The player will be prompted to enter a name and choose their attack, defence, and damage points. There may only be a total of 10 points between the three properties and each property must have at least 2 points Attack points determine whether or not the attacker makes a successful attack. So the more attack points the better the attacker has to making a successful attack. Defense points determine the chance of being hit. So the higher the defense points the better chance the defender has to not being hit, and thus getting damage taken away. Damage points is the amount of damage if the attack is successful. e . So the choice is, have a strong attack, a strong defence, or have a high damage roll. The player and monsters will be objects built from constructors. The object will have prototypes and contain properties and methods. OBJECT PLayer (P1) Monster (P2) Name Hit Points Attack Defence user input random pick 35 random 3 to 5 points The sum of these three properties cannot be greater than 10 and each property 6- P2.Attack must be 2 or more Damag X position Y position random 1 to 5 points NIA NIA PROTOTYPES isAlive (property) doAttack (method) true true
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
