ScratchData LogoScratchData
Back to abhayjoshi's profile

Eight queens using clones with stack

ABabhayjoshi•Created July 15, 2019
Eight queens using clones with stack
1
0
16 views
View on Scratch

Instructions

1. Click on the “Green flag”: program beings with the instruction page. Click Continue to proceed. 2. The program will draw a new, empty chessboard. 3. In the 'manual' mode, you solve the puzzle. To place or remove a queen, simply click in a cell. The move will be allowed only if there is no conflict with the existing queens on the board. 4. If you click on the “Solve” button any time, the PROGRAM attempts to solve the remaining puzzle. It doesn’t change the current placement of queens that you have already made. If a solution is found, the program shows how long it took to solve. If no solution can be found, it says so. 5. Click "Restart" to go to step 2 above.

Description

This implements the famous eight queen puzzle in which you have to arrange eight queens on an empty chessboard such that none of them checks any other.

Project Details

Project ID320986837
CreatedJuly 15, 2019
Last ModifiedJuly 15, 2019
SharedJuly 15, 2019
Visibilityvisible
CommentsAllowed