Refactoring Reversi