the wizards game using constructors and prototypes