Trying to create a game using only the acm framework and 1 custom class and need help