Show Bid Request
clue game function (repost)(2)
Bid Request Id: 27431
|
|
|
Posted by: |
musiclover (6 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Bad - 71.43%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Sep 13, 2002 4:53:33 PM EDT
|
Bidding Closes: |
Sep 16, 2002 4:57:33 PM EDT
|
Viewed (by coders): |
208 times
|
Deadline: |
9/20/2002
TIME EXPIRED
|
|
|
|
Description:
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
Must be 100% finished and received by buyer on:
Sep 20, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Special Conditions / Other:
Must be completed by 09/20/02
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$40 (USD)
|
Sep 13, 2002 5:58:49 PM EDT
|
9.62
(Excellent)
|
|
|
Hello again,
I remember this bid request from a month or so ago. I actually wrote something similar to this, but it was more than ten years ago, and it was in Z80 assembly on ZX Spectrum, an 8 bit computer that was popular in eighties. It was working in iterations, marking each field with value that meant shortest distance to the starting field and direction to go to.
Same algorithm can be used to find shortes distance between any two positions. Shortes distance is the same regardless of the dice roll the computer got, so I don't understand what you mean by five calls to the same function.
I have questions: do the rooms count as one field? ie going into the room on one door and exiting on the other is just two tiles away, not actual width of the room in tiles? And, is moving the piece strictly horizontal/vertical. I mean to get to the field to lower right of current one, you need to make two steps or just one?
I will also need to ask what fields are entrances to the room, as I can't really figure that out from the picture.
Boban. |
|
|
|
|
|