farouk12

Valid Sudoku Generator

11 posts in this topic

#1 ·  Posted (edited)

This is a generator to make valid sudoku (You can play with it to make easy normal hard games)

 

Logic2.au3

 

Edited by farouk12
Edited the Logic2.au3.
1 person likes this

Share this post


Link to post
Share on other sites



#2 ·  Posted

It use something called backtracking (I think)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

You can then use my script to auto solve it!  This was a fun little task I did: 

I've since updated it to navigate to an internet Sudoku page, screen scrape the puzzle, and then auto solve the browser puzzle in an endless loop.

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

#5 ·  Posted

its already solved. but need to transfer it into real sudoku puzzle (Contain Hits / Many empty boxes) but have a unique solution

 

Share this post


Link to post
Share on other sites

#6 ·  Posted

I already made the Gui of the game (need to add restart and new game buttons Later) but i need to make the contain first.

http://prntscr.com/hvww7u

Share this post


Link to post
Share on other sites

#7 ·  Posted

19 hours ago, farouk12 said:

This is a generator to make valid sudoku (You can play with it to make easy normal hard games)

nice :)
could you "reduce" it to plain autoit, without the "obj" part.


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites

#8 ·  Posted

19 minutes ago, Chimp said:

nice :)
could you "reduce" it to plain autoit, without the "obj" part.

I think that will do it.

Logic2.au3

Share this post


Link to post
Share on other sites

#9 ·  Posted

1 minute ago, farouk12 said:

I think that will do it.

Logic2.au3

Srry this will work the other had error

Logic2.au3

 

1 person likes this

Share this post


Link to post
Share on other sites

#10 ·  Posted

25 minutes ago, Chimp said:

nice :)
could you "reduce" it to plain autoit, without the "obj" part.

Its really faster without the obj.

Now it take 30-60 sec was 500-600 sec huh

Share this post


Link to post
Share on other sites

#11 ·  Posted

i mean Millisecond lol

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now