954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

C++ Game - Pseudo code

hi, i have been given a question asking to produce pseudo code for a game. here is the question:

Zombie Island.

1.
This is a simple turn based game.
Set up a 2d grid. Onto the grid randomly position holes, zombies and a man (each represented by a simple character e.g. O Z and M).
The man moves according to input from the player (suggest 4=left, 6=right, 8=up and 2=down).
The zombies should move in a random direction.
If the zombies land in a hole then they die and are removed from the game. If all the zombies die the man wins.
If the man lands in a hole or a zombie lands on the man then the man loses.

i have no familiarity with pseudo code and therefore would be grateful with any help that can be provided. thanks

redrum237
Newbie Poster
13 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

This forum (and others) is not the best place for abstract questions...
Start from (for example):
http://en.wikipedia.org/wiki/Pseudocode
or
http://users.csc.calpoly.edu/~jdalbey/SWE/pdl_std.html
(first two links from my Google search;))

ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You