HTML5 Game Design

In Progress Posted 5 years ago Paid on delivery
In Progress Paid on delivery

make a simple JavaScript game that will break the canvas up into 64X64 pixel squares. You will use a 2D array to dynamically draw a simple maze consisting of bricks and trees. The player will push 1 of four buttons moving their character in that direction one square (You may also use press key call backs if you wish). If the player runs into a monster the player will attack the monster (But not move to the square). After the player has moved all of the monsters will move, if the monster moves on the player it will attack the player (but not move to the square). Monsters and Players cannot move through trees or walls. There will be at least 2 potions on the map that will restore the player’s health if they move on to them. (The potion will then be destroyed after it is collected). If all the monsters have died then print “You Win” on the screen. If the player is killed, then you will print “Game Over”. Both the monsters and the hero will have the following properties:

· HP – Health

· MHP – Max health

· ATK – Attack bonus

· DEF – Defense bonus

· X – X coordinate (on the grid not the pixel value)

· Y – Y coordinate (on the grid not the pixel value)

· PIC – The variable pointing to the html image for the appropriate character.

Both the player and the monster will be rendered by images, they will also have a health bar next to them. (You pick the orientation). The images will be rendered on the appropriate grid based on the X and Y value. Since both the hero and the monster use the same render function you may want to use inheritance. For combat you will follow the equation: Damage = ([login to view URL] or 1 whichever is higher)*random number 1-6. Again this could be implemented in a parent class. You will have three monsters with varying difficulty and one hero. I will let you decide what the attributes should be. The game should be challenging but not impossible. Submit a zipped folder with all your files inside it. The tree and the rock/wall will be rendered through the 2D context draw functions.

CSS Graphic Design HTML HTML5 JavaScript

Project ID: #17009756

About the project

6 proposals Remote project Active 5 years ago

6 freelancers are bidding on average $171 for this job

deepakdiwan

Hello, 5+ years of experience in Web Designing and Development.I am Master in making RESPONSIVE WEBSITES. I am an expert in web applications using Web services,Ajax, Javascript ,CSS, HTML, Adobe Photoshop, Illustrat More

$155 USD in 3 days
(185 Reviews)
7.5
VividusDesigns

Hi, I am vivek, I have good knowledge of html and programming and can help you with this. To be honest I never develop a html game but ll love to do that and the project is really interesting for me and you ll like More

$250 USD in 6 days
(32 Reviews)
4.8
jayesh793

Hello, I am interested in your project, would you like to discuss further details with me! I will wait for your reply. Thank you. Kind Regards, Jay

$155 USD in 3 days
(28 Reviews)
4.9