- This topic has 0 replies, 1 voice, and was last updated 16 years, 9 months ago by .
Viewing 0 reply threads
Viewing 0 reply threads
- The forum ‘C Programming’ is closed to new topics and replies.
Home › Forums › C Programming › fish/shark game using polynorphism
hi brothers and sisters
i have a problem in understanding the mechanism of this game which is described as bellow:
build a simple grid-based shark/fish simulation game. This program should be written using polymorphism: create an Animal base class and derive Fish and Shark
classes from it. There should be a 2-D virtual game board of a decent size: I used 60×20, but this is up to you.