Enumerating all available Queen moves in Chess with one loop
giocc.com