Find Jobs
Hire Freelancers

clue game function (repost)

$30-5000 USD

Ditutup
Disiarkan hampir 22 tahun yang lalu

$30-5000 USD

Dibayar semasa penghantaran
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 Projek: 2861130

Tentang projek

6 cadangan
Projek jarak jauh
Aktif 22 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
6 pekerja bebas membida secara purata $24 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$8.50 USD dalam 14 hari
4.8 (62 ulasan)
4.2
4.2
Avatar Pengguna
See private message.
$21.25 USD dalam 14 hari
5.0 (29 ulasan)
3.6
3.6
Avatar Pengguna
See private message.
$34 USD dalam 14 hari
4.9 (27 ulasan)
3.3
3.3
Avatar Pengguna
See private message.
$34 USD dalam 14 hari
5.0 (6 ulasan)
2.1
2.1
Avatar Pengguna
See private message.
$25.50 USD dalam 14 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
See private message.
$21.25 USD dalam 14 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera UNITED STATES
United States
5.0
6
Ahli sejak Apr 9, 2002

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.