8 Queens Placement Puzzle
Overview
Creator:
Alucard648
Updated: 03 May 2022
Tags:
FFC
Downloads: 48
|
View Script
Download Package (1.01 MB) |
Information
8 queens placement puzzle. Place 8 queens on chessboard so no two queens can attack each other.
https://en.wikipedia...t_queens_puzzle
Any of 92 possible solutions works here.
https://en.wikipedia...t_queens_puzzle
Any of 92 possible solutions works here.
Description Setup Reviews Comments
1. Check out constants at the top of script file.
2. Set up 2 consecutive combos for empty space and queen piece.
3. import and compile the script. It requires chess.zh in additional to default libraries.
4. Build puzzle using 1st combo from step 1 Build chessboard on background layer.
5. Place FFC on any space of the board. Assign the script to it.
//D0 - Number of pieces to place.
//D1 - Piece type to place. Add values together.
// 1 - horizontal rows
// 2 - vertical columns
// 4 - diagonals
// 8 - knight move
// examples: 3-rooks, 4-bishops, 7-queens, 8-knights, 15-maharajas
2. Set up 2 consecutive combos for empty space and queen piece.
3. import and compile the script. It requires chess.zh in additional to default libraries.
4. Build puzzle using 1st combo from step 1 Build chessboard on background layer.
5. Place FFC on any space of the board. Assign the script to it.
//D0 - Number of pieces to place.
//D1 - Piece type to place. Add values together.
// 1 - horizontal rows
// 2 - vertical columns
// 4 - diagonals
// 8 - knight move
// examples: 3-rooks, 4-bishops, 7-queens, 8-knights, 15-maharajas



