Skip to content

Find the number of unique arrangements of pieces on a chessboard of a given size so that the pieces do not threaten each other.

License

Notifications You must be signed in to change notification settings

timakden/chess-puzzle

Repository files navigation

Java CI with Gradle

Chess puzzle

Requirements

Find the number of unique arrangements of pieces on a chessboard of a given size (WIDTHxHEIGHT) so that the pieces do not threaten each other.

Examples

  1. Chessboard of size 3x3 and pieces: 2 kings, 1 rook – 4 unique solutions.
  2. Chessboard of size 4x4 and pieces: 2 rooks, 4 knights – 8 unique solutions.

About

Find the number of unique arrangements of pieces on a chessboard of a given size so that the pieces do not threaten each other.

Topics

Resources

License

Stars

Watchers

Forks

Languages