# [racket] placing-queen 43.3.1

On Dec 23, 2010, at 12:31 AM, Ken Hegeland wrote:
>* I am having trouble with the diagonals. For me it just continually runs until I kill it or my computer freezes up.
*
What is a diagonal? Draw a grid. Place your Q at (5,3). Two diagonals cut through the point.
Q1: Can you walk along one of them by adding multiples of (delta-x,delta-y) to (5,3) ?
Q2: Can you walk along the other one by adding multiples of (different-delta-x,different-delta-y) to (5,3) ?
Q3: What is the condition for stopping a walk?
Now can you translate this into code?