import { PLAYER } from "../constants.js" import { placeLinks } from "../engine/placeLinks.js" export let playerTurn = "" export function nextTurn() { changeTurn() placeLinks() } function changeTurn() { playerTurn = playerTurn == PLAYER.BLACK ? PLAYER.WHITE : PLAYER.BLACK }