Refactor game methods.