Find Jobs
Hire Freelancers

clue game function (repost)

$30-5000 USD

Closed
Posted over 21 years ago

$30-5000 USD

Paid on delivery
I need a function that will calculate best move for the computer to get to the room desired. The parameters would be what room it needs to get to. It would run the same function for each number for the roll amount. For example, if the computer rolled a 5, it would run the function 5 times at the most. I could not upload all the files needed. Anyone interested in the project just let me know and I can upload the additional files. The name of the function is called computersquare. I posted it once before; however, the coder was unable to do the job. Must have a knowledge of clue. Do not use the formula below because it does not work. getdistance = Sqr(Abs(playerxcor - roomxcor) * Abs(playerxcor - roomxcor) + Abs(playerycor - roomycor) * Abs(playerycor - roomycor)) Already has a 2d coordinate system. Must keep in mind that a person can not cut across a room to get to a door. Also, there is more than one door to some rooms; therefore, it needs to calculate which door is closest and what move takes the player closer to the desired room. ## Deliverables A function that will calculate best move to get toward the room desired. Included is the project file with all files needed. The function is called computersquare. It should return the space number and whether it is on the board or in the room. The rooms are labeled from 1 to 9. The comments are additional information. If there are any questions, please do not hesitate to ask. Complete copyrights to all work purchased. ## Platform Windows XP, Visual Basic 6.0 Professional Edition
Project ID: 2861130

About the project

6 proposals
Remote project
Active 22 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 $24 USD for this job
User Avatar
See private message.
$8.50 USD in 14 days
4.8 (62 reviews)
4.2
4.2
User Avatar
See private message.
$21.25 USD in 14 days
5.0 (29 reviews)
3.6
3.6
User Avatar
See private message.
$34 USD in 14 days
4.9 (27 reviews)
3.3
3.3
User Avatar
See private message.
$34 USD in 14 days
5.0 (6 reviews)
2.1
2.1
User Avatar
See private message.
$25.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$21.25 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
6
Member since Apr 9, 2002

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.