Track Prolog
Prolog track

Queen Attack

An exercise from the Prolog track
easy

About this exercise

Given the position of two queens on a chess board, indicate whether or not they are positioned so that they can attack each other.

View all solutions