What simple game is good to learn OO principles?

Posted by Bogdan Gavril on Programmers See other posts from Programmers or by Bogdan Gavril
Published on 2011-02-28T12:26:39Z Indexed on 2011/02/28 15:32 UTC
Read the original article Hit count: 376

I have to come up with a project propsal for my students, here are some details:

  1. The design should be gove over OO concepts: encapsulation, interfaces, inheritance, abstract classes
  2. Idealy a game, to keep interest high
  3. No GUI, just the console
  4. Effective time to finish this: ~ 6 days (1 person per proj)

I have found one nice example of a game with carnivore and herbivore cells in a drop of water (array), it's a game of life twist. It is a bit too simple.

Any ideeas?

Aditional info: - language is C#

© Programmers or respective owner

Related posts about programming-languages

Related posts about c#