Modified Answer to be a game-logic only class