anchor.diff:                      {stop, normal, NewState};
                   false ->
                       print_board(NewState),
  -                    case is_tie(NewBoard, Width, Height, Run, Periodic, Player) of
  +                    case is_tie(NewBoard, Width, Height, Run, Periodic, Player, Next) of
                           true ->
                               print_tie(),
                               {stop, normal, NewState};
  
positive.code: row_str(N,#state{width=Width, board=Board}) ->
      [lists:nth(N, ?ROWS),$|] ++ binary_to_list(binary:part(Board, (N-1) * Width, Width)) ++ "|".
  
  -spec is_tie(Board::binary(), Width::integer(), Height::integer(), Run::integer(), Periodic::boolean(), Player::integer()) -> boolean().
  is_tie(Board, _, _, _, _, _) ->  binary:match(Board, <<?AVAILABLE>>) =:= nomatch.
  
  is_win(Board, Width, Height, Run, false, Player) -> 
      egambo_tic_tac_win:win(binary:replace(Board, <<?JOKER:8>>, <<Player:8>>, [global]), Width, Height, Run, Player);
  
negative.code:                             {stop, normal, NewState};
                          false ->
                              print_board(NewState),
                              case is_tie(NewBoard, Width, Height, Run, Periodic, Player, Next) of
                                  true ->
                                      print_tie(),
                                      {stop, normal, NewState};
  