Tomorrow I'll be up at 5 for the Japanese grand prix qualifier and the Irish rugby match against Wales and after I'm going to review my Results class. I think maybe the class should be an abstract class with an implementation of the checking method. Then I can write a subclass of the Result class for each type of game. I think it would be a more logical structure to the app and it should make the addition of new game types easier. Also, maybe the functionality for pulling the information from the web should be a method of each game type.
No comments:
Post a Comment