|
-
Aug 13th, 2006, 04:44 PM
#1
Thread Starter
Junior Member
Game
Hi All,
Please will anyone be able to help me get this game working in VB?
Game
A red wildebeest is controlled by the player - it can move up, down, left, right, and the aim is to eat all the green grass, leaving red soil behind. The game ends when all the grass is successfully eaten. Unfortunately, the ground is unsafe, and holes - black squares - pop up every 4 moves, at a random position. The game also ends when the wildebeest falls into a hole.
• the game is played on a 10 by 10 area
• it should display a count of the number of moves, and of the number of holes created.
• I need to use a 2-dimensional array to hold details of the current state of the game, using characters to represent each square, as in
dim board(9,9) as string ' 0 to 9 - global
for row = 0 to 9
for col = 0 to 9
board(row,col) = "g" 'use g for grass
next
next
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|