refactor: make sides/side optional
This commit is contained in:
@@ -63,8 +63,6 @@ export function placePiece(host: IGameContext<TicTacToeState>, row: number, col:
|
||||
const board = getBoardRegion(host);
|
||||
const piece: Part = {
|
||||
id: `piece-${moveCount}`,
|
||||
sides: 1,
|
||||
side: 0,
|
||||
region: board,
|
||||
position: [row, col],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user