14 March 2010

Software Design - Puzzle #1

You are sitting in a boardroom of a famous gaming giant. They have invited you to discuss about the design of their next product - a strategy game. The game is "Konquer" in which a king tries to rule the entire world and takes the world towards prosperity. The gaming giant is planning to give the responsibility of modeling classes. Here is the requirement one
Since the area is very large, the king is trying to split his kingdom into more manageable parts. He needs idea on making his entire region into more manageable regions. The requirement is that you have to come up with list of regions and model them into set of classes. After this, the king goes for the hunting asking you to meet him after two days to discuss your ideas.
With this example, we will learn few object oriented principles that leads to better software design.