Find Jobs
Hire Freelancers

clue game function (repost)

$30-5000 USD

已关闭
已发布将近 22 年前

$30-5000 USD

货到付款
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
项目 ID: 2861130

关于此项目

6提案
远程项目
活跃22 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
6威客以平均价$24 USD来参与此工作竞价
用户头像
See private message.
$8.50 USD 在14天之内
4.8 (62条评论)
4.2
4.2
用户头像
See private message.
$21.25 USD 在14天之内
5.0 (29条评论)
3.6
3.6
用户头像
See private message.
$34 USD 在14天之内
4.9 (27条评论)
3.3
3.3
用户头像
See private message.
$34 USD 在14天之内
5.0 (6条评论)
2.1
2.1
用户头像
See private message.
$25.50 USD 在14天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$21.25 USD 在14天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
5.0
6
会员自4月 9, 2002起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。