fish/shark game using polynorphism

Home Forums C Programming fish/shark game using polynorphism

This topic contains 0 replies, has 1 voice, and was last updated by  StevensMargo 10 years, 9 months ago.

  • Author
    Posts
  • #2052

    StevensMargo
    Member

    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.

You must be logged in to reply to this topic.