codesmells trivia game homework