Find Jobs
Hire Freelancers

A.I. for a game called Risk

$100-500 USD

Fullført
Lagt ut nesten 19 år siden

$100-500 USD

Betalt ved levering
Enclosed is the source code for a game called Risk. To run this, run the setup.msi. What that will do is to install all the necessary components and put the source code in a folder called C:\games which can be changed There is a class called clsriskai Currently, I have the level 1 which is beginners where the computer just pick random moves for attacking, etc. What is needed is a level 2 and 3. For level 2, the computer should make just average moves (average intelligence). For level 3, the computer should gang up on the human player and make it as difficult as possible for the human player to win. The functions needed are on the class file. If there are any additional modules you have to create, that would be fine. More info in the deliverables ## Deliverables The functions needed are these: 1. missioncardtoplay this will need to return a mission card to play (when he's completed a mission). if the gametype is not mission, then this is ignored 2. returnriskcardlist this will return a collection of three risk cards to turn in to get additional reinforcements. For level 1, just have it pick from random as long as its valid. For levels 2 and 3, avoiding wilds as much as possible. If there are 5 cards, then must have a collection of three cards. Valid ones are infantry, calvalry, and artillery or three of one of them. wilds can be used for any one of them 3. computerattack (attackfrom, attackto, howmany) if the computer will not attack, then attackfrom will return 0 the three parameters will start out at 0 and be filled in by the A.I. howmany is how many armies will be used in the attack. for levels 2 and 3, use the maximum if attacking (which is 3 even if you have more than 4 armies 4. computermove (movefrom, moveto, howmany) if the computer will not move, then the movefrom will be 0 to find out the possible moves from a location (where he owns), use this function [login to view URL](territorynumber) which will return a list of numbers that are connected together the computer is allowed one free move per turn (after attacking) 5. computerplacearmies (howmany) howmany will be a parameter sent in which is how many armies can be placed this would need to return a list of territories to place the armies in. each one would place one army. if one territory will be placing 4 armies, then that territory will show up four times 6. armiestotransferafterbattle this will return how many armies will be transferred after battle from the old location to the conquered territory What is needed is the source code only. The changes should be done to the [login to view URL] if there are any additional modules or classes used, then that would have to be included as well. Must remain in VB 6.0. If you do a good job here, I will have other projects because I have other games that the A.I. needs to be completed. Let me know if you have any questions. 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows XP Home Edition, Windows 98
Prosjekt-ID: 3767568

Om prosjektet

4 forslag
Eksternt prosjekt
Aktiv 19 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
See private message.
$200,60 USD om 7 dager
5,0 (21 omtaler)
4,8
4,8
4 frilansere byr i gjennomsnitt $262 USD for denne jobben
Brukeravatar
See private message.
$510 USD om 7 dager
4,9 (76 omtaler)
6,3
6,3
Brukeravatar
See private message.
$170 USD om 7 dager
4,9 (9 omtaler)
3,5
3,5
Brukeravatar
See private message.
$165,75 USD om 7 dager
4,6 (2 omtaler)
1,4
1,4

Om klienten

AUSTRALIAs flagg
Sydney, Australia
5,0
781
Betalingsmetode bekreftet
Medlem siden apr. 9, 2002

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.