Remove debug logs

This commit is contained in:
0880
2026-01-17 15:28:31 +03:30
parent 1d7defd069
commit 6e61b4d3d0

View File

@@ -158,9 +158,6 @@
i = mHouse[0]; i = mHouse[0];
j = mHouse[1]; j = mHouse[1];
if (ready && board) { if (ready && board) {
console.log(turn);
console.log(color);
console.log(selected);
if (board[j][i] !== "E" && (board[j][i] === board[j][i].toUpperCase() ? 0 : 1) === color && turn == color) { if (board[j][i] !== "E" && (board[j][i] === board[j][i].toUpperCase() ? 0 : 1) === color && turn == color) {
selected = [i, j]; selected = [i, j];
@@ -185,7 +182,6 @@
moves.forEach(move => { moves.forEach(move => {
console.log(move); console.log(move);
if (move[0] == i && move[1] == j) { if (move[0] == i && move[1] == j) {
console.log("YAY");
fetch('{{ API_ROOT }}/move/' + ROOM_ID, { fetch('{{ API_ROOT }}/move/' + ROOM_ID, {
method: 'POST', method: 'POST',
headers: { headers: {