Skip to content

Commit

Permalink
Remoevd unused log
Browse files Browse the repository at this point in the history
  • Loading branch information
Naviary2 committed Oct 4, 2024
1 parent 5771413 commit 6fe383f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/client/scripts/game/chess/specialdetect.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,6 @@ function addPossibleEnPassant(gamefile, individualMoves, coords, color) {
* @param {array[]} individualMoves - The legal individual moves calculated so far
*/
function roses(gamefile, coords, color, individualMoves) {
if (!individualMoves) {
console.error("not present");
console.error(coords);
}
const movements = [[-2, -1], [-1, -2], [1, -2], [2, -1], [2, 1], [1, 2], [-1, 2], [-2, 1]]; // Counter-clockwise
const directions = [1, -1]; // Counter-clockwise and clockwise directions

Expand Down

0 comments on commit 6fe383f

Please sign in to comment.