function for finding a list of connected territories owned for risk game

Fullført Lagt ut Jun 10, 2005 Betales ved levering
Fullført Betales ved levering

Enclosed is the source code for the game called Risk. The game is not completed. This is mostly for a control that will be used for the game. What is needed is to complete a function called getconnectedterritorylist. The parameter is index (which is the territory number to start from). What needs to be returned is a list of territory numbers that adjoins it (that the player who owns the index one owns as well). Here is one example

if the player owns 1, 2, 4, 7, 17, and the index is 1, then the final results would be 1, 2, 4, 7 (not 17 because 17 is not connected). Can be more complex than that. That was just an example. The function has been started. It needs to be finished. There are no dlls to install for this. This will be used so when a player makes their free move, it will know if its valid or not. Let me know if you have any questions.

## Deliverables

The source code only to complete the function so there would be a list of all territories that a player can move to from the given territory to make it still connected.

## Platform

Windows XP Home Edition, Windows 98

Ingeniørvitenskap Spillkonsoller Spilldesign Microsoft MySQL PHP Programvarearkitektur Testing av programvare Visual Basic Windows skrivebord

Prosjekt-ID: #3760425

Om prosjektet

1 bud Eksternt prosjekt Aktiv Jun 10, 2005

Tildelt til:

CMartins

See private message.

$22.95 USD på 5 dager
(69 omtaler)
5.0