Refactored Reversi Tui