You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I did a multiplayer game in react native and i could not find any usefull info how to reverse the board for player two to see black pieces at bottom side . Manually board.reverse() does the job only visually , is there any ready to use function to do this or any guides ? Thank you.
The text was updated successfully, but these errors were encountered:
with board.reverse() visually it reverse but actually chess.moves() dont know about it.
from d7 to d6 for example
const move = moves.find((m) => m.from === from && m.to === to);
this return undefined beause chess.moves() shows that it can go from d2 to ... . Without reverse() the piece located at d2.
Hello everyone, I did a multiplayer game in react native and i could not find any usefull info how to reverse the board for player two to see black pieces at bottom side . Manually board.reverse() does the job only visually , is there any ready to use function to do this or any guides ? Thank you.
The text was updated successfully, but these errors were encountered: