clue game function (repost)(2)

Lengkap Disiarkan Sep 13, 2002 Dibayar semasa penghantaran
Lengkap 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

## Deadline information

Must be completed by 09/20/02

Kejuruteraan Microsoft MySQL PHP Kejuruteraan Perisian Ujian Perisian Visual Basic Destop Windows

ID Projek: #2870545

Tentang projek

1 cadangan Projek jarak jauh Aktif Sep 13, 2002

Dianugerahkan kepada:

belgradeteam

See private message.

$34 USD dalam 14 hari
(38 Ulasan)
5.0