I\'m considering making a text-based RPG-type program in PHP as both a holiday project and a chance to learn more about PHP and OOP. (Maybe not the best choice in language,
You could create an abstract class, say Monster, and then extend that class for each of the different types of monsters. So
edit Orc would extend Monster and then inherit the attribute $health and the function attack().