[go: up one dir, main page]

0% found this document useful (0 votes)
18 views3 pages

AIML LAB 2

The document presents a Python code implementation for finding safe positions for a chess queen on an 8x8 board. It includes various configurations of queen placements that adhere to the rules of chess. The document is part of a project for a course on Artificial Intelligence and Machine Learning.

Uploaded by

Kranium A
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views3 pages

AIML LAB 2

The document presents a Python code implementation for finding safe positions for a chess queen on an 8x8 board. It includes various configurations of queen placements that adhere to the rules of chess. The document is part of a project for a course on Artificial Intelligence and Machine Learning.

Uploaded by

Kranium A
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

NAME : ANAGHA DUSANE PRN : 1032221995

CLASS : TY.BTECH MECH.01


SUBJECT : ARTIFICIAL INTELLIGENCE AND MACHINE LEARNING
TOPIC : A*

CHESS QUEEN SAFE POSITIONS (8*8)

PYTHON CODE
RUN

Q . . . . . . . . . Q . . . . . . . . . . . . Q
. . . . Q . . . . . . . . . . Q . Q . . . . . .
. . . . . . . Q . Q . . . . . . . . . Q . . . .
. . . . . Q . . . . . . Q . . . Q . . . . . . .
. . Q . . . . . Q . . . . . . . . . . . . . Q .
. . . . . . Q . . . . . . Q . . . . . . Q . . .
. Q . . . . . . . . . Q . . . . . . Q . . . . .
. . . Q . . . . . . . . . . Q . . . . . . Q . .
Q . . . . . . . . . . Q . . . . . . . . . . . Q
. . . . . Q . . . Q . . . . . . . Q . . . . . .
. . . . . . . Q . . . . Q . . . . . . . Q . . .
. . Q . . . . . . . . . . . . Q . . Q . . . . .
. . . . . . Q . Q . . . . . . . Q . . . . . . .
. . . Q . . . . . . Q . . . . . . . . . . . Q .
. Q . . . . . . . . . . . Q . . . . . Q . . . .
. . . . Q . . . . . . . . . Q . . . . . . Q . .
Q . . . . . . . . . . Q . . . . . . . . . . . Q
. . . . . . Q . . Q . . . . . . . . Q . . . . .
. . . Q . . . . . . . . . . . Q Q . . . . . . .
. . . . . Q . . . . . . . Q . . . . . . . Q . .
…..CONTD. Q . . . . . . . . Q . . . . . .
. . . . Q . . . . . Q . . . . . . . . . Q . . .
. . . . . . Q . . . . . Q . . . . . . . . . Q .
. . Q . . . . . . . . . . . Q . . . . Q . . . .
Q . . . . . . . . . . . Q . . . . . . . . . . Q
. . . . . Q . . . . Q . . . . . . . . Q . . . .
. . . . . . . Q Q . . . . . . . Q . . . . . . .
. . . . Q . . . . . . . . Q . . . . Q . . . . .
. Q . . . . . . . . . . . . . Q . . . . . Q . .
. . . Q . . . . . Q . . . . . . . Q . . . . . .
. . . . . . Q . . . . Q . . . . . . . . . . Q

You might also like