0% found this document useful (0 votes)
16 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)
16 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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy