Closed

finish coding a maze in HTML

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 [url removed, login to view] 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!!

Skills: Coding, CSS, HTML, Java, Javascript

See more: Project Description Need to fill this html table structure example with shipping price you can use also = for price that a, coding generate html pdf, html email signature example, html css contact example, html lotus signature example, html table newsletter example, iphone html form select example, convert xml html perl script example, much charge coding psd html, html foto gallery example, showinghiding html using javascript example, professional html mail signature example, html dynamic forms example total, coding photoshop html, html image gallery example

About the Employer:
( 0 reviews ) United States

Project ID: #15455266

8 freelancers are bidding on average $25 for this job

DemonDeveloper

i have seen ur [url removed, login to view] u r using not pure html .so there is lot of things to [url removed, login to view] can disscuss Relevant Skills and Experience Coding, CSS, HTML, Java, Javascript Proposed Milestones $30 USD - def

$30 USD in 1 day
(40 Reviews)
4.6
rashadev

Hi, I am quite aware of such problems, I've worked with mazes before. High quality and accurate results are highly expected.

$25 USD in 1 day
(10 Reviews)
2.9
$25 USD in 2 days
(2 Reviews)
1.6
morigazuo

hi it is the same project i have developed before. 2 weeks ago i changed this page, then i inserted the function: calculating the complete ratio. show current cell position it is all the same. if you hire me,ill More

$20 USD in 1 day
(1 Review)
0.4
$35 USD in 1 day
(0 Reviews)
0.0
Abdobenaichaa

A proposal has not yet been provided

$10 USD in 1 day
(0 Reviews)
0.0
joefrancois1992

Hi, I'm a very experienced web developer. I use HTML, javascript, CSS, php, and others... on a daily basis. I live in canada and i'm used with working remotly so that wont be an issue. Thank you,

$30 USD in 5 days
(0 Reviews)
0.0
$25 USD in 1 day
(0 Reviews)
0.0