Hey im supposed create a village simulator where a user aims to build a small
village.
i have a template but im struggling with making everything interactive
i need to include use some of these
variables but not limited to
- [login to view URL]
- if else
- function
- onclick
- template literal
- innerHTML
- [login to view URL]()
- [login to view URL]
Description of how the game works and requirements
The user starts with 300hp, 0 units of wood, 0 units of
metal. The green bar at the very top of the left side is life (hp).
- The user must click on trees to get wood
- The user must click on the mine image to get metal
- The user clicks on the buttons to build buildings. The buildings cost a certain amount of metal and wood
- When the user receives or uses up wood or metal, it must be updated at the top.
- The trees have a limited amount of wood. When you have clicked 10 times on a tree,
it disappears. Each click on a tree gives 25 resources.
- The mine has an "infinite" amount of metal. Each click on the mine gives 10 resources.
- Sometimes 1-3 monsters appear (added with for loop?). You have to click on
the monster images (or the surrounding div?) to defeat them. Each monster has 40hp
A default "click/attack" from the player on the monster deals 10hp damage
When the monsters appear, the player loses life for each move (attack or other move) until they are defeated.
- If the player buys the sword, the player does 40hp damage to a monster
thank you!
✔️Hi there✔️
I have just read your project description and we can help you with our rich experience and best skills.
I'm an expert in PHP frameworks and MVC like Laravel and Codeigniter.
We will create the perfect product that satisfies you.
So, don't waste your golden hours looking for freelancers!
My clients have never been disappointed with my work and I want you to be one of them.
I am always ready for you. So we can talk more in detail through chat.
Best regards.
Hi, i'm JavaScript Developer and Web developer, i can start in your project right now, if you want, text me for talk about details of the project. Thank you.