Find Jobs
Hire Freelancers

A.I. for a game called Risk

$100-500 USD

Terminado
Publicado hace casi 19 años

$100-500 USD

Pagado a la entrega
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
ID del proyecto: 3767568

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 19 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$200,60 USD en 7 días
5,0 (21 comentarios)
4,8
4,8
4 freelancers están ofertando un promedio de $262 USD por este trabajo
Avatar del usuario
See private message.
$510 USD en 7 días
4,9 (76 comentarios)
6,3
6,3
Avatar del usuario
See private message.
$170 USD en 7 días
4,9 (9 comentarios)
3,5
3,5
Avatar del usuario
See private message.
$165,75 USD en 7 días
4,6 (2 comentarios)
1,4
1,4

Sobre este cliente

Bandera de AUSTRALIA
Sydney, Australia
5,0
781
Forma de pago verificada
Miembro desde abr 9, 2002

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.