What is Nostr?
antigones /
npub1v7e…z649
2024-11-03 20:20:23

antigones on Nostr: This weekend, I spent some time developing a simple “Queens” game solver with ...

This weekend, I spent some time developing a simple “Queens” game solver with backtracking in #Python.
In “Queens”, the player is required to place N queens on a board, one queen per row, one per column and one per color area. The player must not place queens on adjacent cells.

The video shows a solution for a given instance of the riddle and the last 100 console animated backtracking iterations to solve it.

Author Public Key
npub1v7e4mr7g0c0cqzrel70trtd0pwa3nqh3uftt3pd4p0e63ldq3utsdvz649