i need help

Can anybody create this program for me and post the code on this board?

Design a program that will randomly place a treasure on an island. also, the program will randomly (each time you resart the game_ place not only the treasure but also other terains on the island; such as desert, forest, plains, mountain. you can also have special features which can be used to fine the treasure. oh, by the way, the island is surrounded by shark infested waters, if you go into the water 3 times you die.

a simple way to do this is to make a 10 x 10 island that is surrounded by water (11x11 array). use your random number generator to fill the 10 x 10 array with random numbers, leaving the edge values always the same number (water). so that the numberic array value would look something like this:
77777777777
71234523517
75342615347
76115142417
73166325347
74231916267
75343321127
71234523517
75342615347
74231516267
77777777777

where:
1=plains
2=forest
3= mountains
4=quicksand
5=desert
6=ravine
7=shark infested water
9=treasure (notice, there is only 1)

The player is place randomly on the island and must find the treasure. keep track of how many moves it takes the player to win. the player with the lowerst score is the ultimate winner. as a player moves around the island, they should use the arrow keys to move up, down, right, left. as they move, a new picture will show them what terrain they are in. what would be nice is to see what was next to their square, so they could make an intelligent decision for their next move.

Comments

  • : Can anybody create this program for me and post the code on this board?
    :
    : Design a program that will randomly place a treasure on an island. also, the program will randomly (each time you resart the game_ place not only the treasure but also other terains on the island; such as desert, forest, plains, mountain. you can also have special features which can be used to fine the treasure. oh, by the way, the island is surrounded by shark infested waters, if you go into the water 3 times you die.
    :
    : a simple way to do this is to make a 10 x 10 island that is surrounded by water (11x11 array). use your random number generator to fill the 10 x 10 array with random numbers, leaving the edge values always the same number (water). so that the numberic array value would look something like this:
    : 77777777777
    : 71234523517
    : 75342615347
    : 76115142417
    : 73166325347
    : 74231916267
    : 75343321127
    : 71234523517
    : 75342615347
    : 74231516267
    : 77777777777
    :
    : where:
    : 1=plains
    : 2=forest
    : 3= mountains
    : 4=quicksand
    : 5=desert
    : 6=ravine
    : 7=shark infested water
    : 9=treasure (notice, there is only 1)
    :
    : The player is place randomly on the island and must find the treasure. keep track of how many moves it takes the player to win. the player with the lowerst score is the ultimate winner. as a player moves around the island, they should use the arrow keys to move up, down, right, left. as they move, a new picture will show them what terrain they are in. what would be nice is to see what was next to their square, so they could make an intelligent decision for their next move.
    :
    This forum is for coding help...
    I don't think anyone will help you with that.
    If you got some programming skills you could do it youreself.

    [b]Niklas Ulvinge[/b] [white]aka [b]IDK[/b][/white]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion