Tried to refactor entire game