import { startingChess, inCheck } from '@datamoc/mw_games/board';console.log(inCheck(startingChess(), 'white')); // false - nobody is in check at the start Copy
import { startingChess, inCheck } from '@datamoc/mw_games/board';console.log(inCheck(startingChess(), 'white')); // false - nobody is in check at the start
Example