refactor game spec