Find Jobs
Hire Freelancers

finish coding a maze in HTML

$10-30 USD

Closed
Posted over 6 years ago

$10-30 USD

Paid on delivery
Most of the coding is completed, just modifications are needed Create a new level (maze) Plan a new minimap maze with the minimum requirements being that the player must start in the lower right corner and finish in the upper left corner with at least one possible path to success. Success is defined by the player arriving at position 1,1. Implement the new map within the [login to view URL] script. The new maze is intended to replace the old. Create a heads-up display (HUD) at the top of the screen (using a new <DIV> element and associated CSS) that displays the following. The game title Player position (measured in cells (e.g., x=1,y=2 or x=4,y=5) Coding needs: a new method for the player object named showPosition() that captures the current position on each iteration of the game loop and displays the formatted text in the HUD Percentage of the distance to the goal (measured as %) completed at the current position Coding needs: you need to code an addition for the showPosition() method above that calculates the diagonal distance to the end of the maze from the current position, and then calculates the ratio of that current distance to the total distance (which is diagonal from position 1,1 to position 14,14). The result is then displayed as text in the HUD. For example, total distance on a diagonal from 14,14 to 1,1 would be 13 / sin(45) or sqrt(13 * 13 + 13 * 13) = 18.3. So, if player is at position coordinates of 5,13, the distance from that point is sqrt(4 * 4 + 12 * 12) = 12.6. So the ratio is 12.6 / 18.3 = 0.69 or 69%—but the percentage completed would be 100% - 69% = 31%. Success when the goal is reached (defined as arriving at 1,1 on the minimap) Please look at the information and files provided. THE COST WILL NOT BE NEGOTIATED AFTER THE PROJECT HAS BEEN AWARDED!!
Project ID: 15883715

About the project

6 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $35 USD for this job
User Avatar
I am a Professional Freelancer with experience of more than 7+ years with specializing in Web-Development & Designing (Wordpress ,Woocommerce, eCommerce , PHP, .Net, , HTML5). I want to work with you LONG TERM. I have a strong sense of responsibility in everything that I do and able to get things done even on tight deadlines. I love programming and coding, I love complex challenges and super reliable even on the tightest deadlines – I will keep our cool and get things done I have fantastic communication skills and a VERY ORGANIZED personality. I love Checklists, Check-boxes, analyzing things. I have successfully designed and launched cost effective websites for individuals and businesses worldwide. From high end eCommerce website development to the simplest logo design needs, I help you realize your vision. using the latest in website development technology, I provide you with amazing services at very competitive prices. Best regards,
$25 USD in 1 day
4.7 (71 reviews)
5.9
5.9
User Avatar
A proposal has not yet been provided
$100 USD in 5 days
5.0 (9 reviews)
3.7
3.7
User Avatar
Willing to do not only a quick work, but a good one too
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I'll do this quickly for you and at a low price.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Dec 16, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.