jtrunick/jousting

JST-6 King Arthur Returns!

Closed this issue · 1 comments

"Okay, we have a really big change now. I want to add King Arthur. He should be just like any other knight, except I don't want his XP to be counted toward the total earned by all knights in a given time period - rather, I want his XP to be reported on its own. Oh, but I do want him to count for the purposes of the bonus XP system. Oh, one more thing: I want to add a new location that the knights can visit - a round table! The round table has to be visited by a knight for at least 3 hours in any day for the knight to earn any XP for that day. Can you get this done by lunch?"

I could of done the first part with inheritance, but I wait for a 3rd type... On the second type, its likely to be premature refactoring.

Its coded such that only BONUS XP needs the 3 hours... not the regular XP, that would be a bit more difficult... Didin't write unit test case... I need to call it a KNIGHT!