Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 395 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 395 Bytes

8-Queen Puzzle Using iterative repair algorithm

Usage

Create a new Board instance and call Board#solve on the instance.

Board.new(board_length)

For example:

board = Board.new(8, required_answers: 2, filled_character: "Q")
board.solve

Todos:

  • Make it faster.
  • Clean code.
  • Found other solutions.
  • Write a small document and usage in README