Place 8 queens in 8X8 chessboard such that none of them able to capture any other by standard moves of queen. That is no 2 queens would be able to attack each other. [also try general queens problem of placing n queens in nxn chessboard]
3 comments:
Anonymous
said...
Where the bottom left of the board is (0,0) and upper right of the board is (7,7)...
3 comments:
Where the bottom left of the board is (0,0) and upper right of the board is (7,7)...
(0,2) (1,4) (2,1) (3,7) (4,0) (5,6) (6,3) (7,5)
study artificial intelligence...computer course b tech nsit.
|___|___|___|_q_|___|___|___|___|
|___|___|___|___|___|_q_|___|___|
|___|___|___|___|___|___|___|_q_|
|___|_q_|___|___|___|___|___|___|
|___|___|___|___|___|___|_q_|___|
|_q_|___|___|___|___|___|___|___|
|___|___|_q_|___|___|___|___|___|
|___|___|___|___|_q_|___|___|___|
Post a Comment