Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Sudoku puzzle (updated with 500 puzzles)
#5
(06-09-2024, 02:45 AM)Dav Wrote: By the way, I had a hard time trying to figure out a puzzle generator, but I eventually made one that could spit out valid puzzles.  It worked so slow however I couldn't put it in the game.  It took up to 30 secs to make a valid puzzle.  That's why I just used pre-made puzzles in the game, to skip the wait.

Might as well also post the really horrible generator program that makes the puzzles.  It BEEPs when the puzzle is generated.

- Dav

my generator takes a long time too when attempting to make a high level difficult puzzle. i start with solved puzzle and randomly remove clues. The trick is not to remove a clue that ruins the uniquness of the solution ie a puzzle with more than one solution is bad because pure logic can't resolve the solution.

getting a solver working is key. i use it to create solved puzzles ie it solves a blank grid. then again to check randomly removed clues to make sure the solution remains unique.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
RE: Simple Sudoku puzzle (medium levels) - by Dav - 06-08-2024, 11:44 PM
RE: Simple Sudoku puzzle (medium levels) - by Dav - 06-09-2024, 02:45 AM
RE: Simple Sudoku puzzle (medium levels) - by bplus - 06-09-2024, 01:57 PM
RE: Simple Sudoku puzzle (medium levels) - by Dav - 06-09-2024, 07:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  2048 Puzzle Dav 42 6,717 10-27-2024, 10:08 AM
Last Post: bplus
  Classic 15 puzzle Dav 5 1,138 10-15-2024, 01:08 AM
Last Post: bplus
  RocoLoco - Row & Column math puzzle game. Dav 3 1,355 06-07-2024, 12:11 PM
Last Post: Dav
  UnscramblePic.bas - Rotate picture pieces puzzle Dav 14 2,995 07-15-2023, 07:12 PM
Last Post: Steffan-68
  Make5 - Board clearing puzzle game Dav 9 2,209 07-15-2023, 01:47 AM
Last Post: Dav

Forum Jump:


Users browsing this thread: 1 Guest(s)