Search found 31 matches: sudoku

Return to advanced search

Re: Sudoku with fwh

... maybe you can use it and improve https://app.box.com/s/7j5584ob8fgvfek25a2is9krnsso9zpo saludos Marcelo thanks Marcelo , I made a sudoku on dos and I'm trying to converte it on win your sudoku app is great!!! A question How load a new sudoku into ? I have a file test ... type 001700509573024106800501002700295018009400305652800007465080071000159004908007053 ...
by Silvio.Falconi
Fri Jan 23, 2015 11:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Marcelo, thank You very much. I think it is very usefull, getting some new ideas like creating new templates and saving them to a new file. Many new functions are included, but there is still a lot to do. I don't use any extra buttons. Functions are selected from the 2. xBrowse. The numbers are sele...
by ukoenig
Fri Jan 23, 2015 8:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Holo, many years ago (2006) I started to do a Sudoko game, to solve and generate, it can be resized, and accept right mouse click to mark possible solution, you can fill all without use the keyboard (using the numbers in the bar).... it is a early version maybe you can use it and improve https:/...
by Marcelo Via Giglio
Fri Jan 23, 2015 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Silvio, Local nNumber := 0 ... FOR n := 1 TO LEN(oSquare:aCols) ... // makes it possible, to pick a number < 1 - 9 > from the header ( right mouseclick ) without a needed celledit oSquare:aCols[ n ]:bRClickHeader := {|r,c,f,o| nNumber :=o:cHeader } ... NEXT // The clicked cell will display the...
by ukoenig
Fri Jan 23, 2015 12:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

nNumber ? I not have this variable
by Silvio.Falconi
Fri Jan 23, 2015 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Silvio,

on xBrowse-cellclick :

oSquare:bLClicked := { | nRow, nCol | oText:GoTop(), oText:GoDown( oSquare:KeyNo() -1 ), oSquare:Refresh(), ;
C_ACTION( aSudoku, oSquare:KeyNo(), oSquare:SelectedCol():nCreationOrder, nNumber) }

best regards
Uwe :lol:
by ukoenig
Thu Jan 22, 2015 6:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Uwe how you call caction ?
by Silvio.Falconi
Thu Jan 22, 2015 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Silvio, the working block-matrix-calculation, calculated from the xbrowse click-position ( row / col ) : ( maybe it can be done with using a formular ) http://www.pflegeplus.com/IMAGES/Sudoku6.jpg FUNCTION C_ACTION(aSudoku, nRPos, nCPos, nNumber) LOCAL nBlock := 0, nPos := 0I...
by ukoenig
Thu Jan 22, 2015 4:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

perhaps ...

osquare:MouseRowPos( nRow )
osquare:MouseColPos( nCol )
by Silvio.Falconi
Thu Jan 22, 2015 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

yes I need the number of a block

the cell you selected is block 5 column 4 line 5
by Silvio.Falconi
Thu Jan 22, 2015 12:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Silvio,

is this the number-logic You mean ?

Image

best regards
Uwe :?:
by ukoenig
Thu Jan 22, 2015 12:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Uwe,
How I can make to have the number of block,the number of column and the number of row when I move the mouse on a cell ?
by Silvio.Falconi
Thu Jan 22, 2015 11:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

... Red (readonly) the number are generate by app but when the user insert a number the cell must be yellow then when the resolve procedure solve the sudoku it must see the aOriginal array ( a clone of asudoku) if the number of cell is the same or space or wrong the cell must be red, it the number ...
by Silvio.Falconi
Thu Jan 22, 2015 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

GOOD
by Silvio.Falconi
Thu Jan 22, 2015 11:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129

Re: Sudoku with fwh

Drawing figures on a xBrowse-data-area using different colors : http://www.pflegeplus.com/IMAGES/Sudoku4.jpg FOR n := 1 TO LEN(oSquare:aCols)  WITH OBJECT oSquare:aCols[ n ]    :nEditType := EDIT_GET    :lAllowSizing := .F.    :nDataStrAlign := AL_CENTER    :nHeadStr...
by ukoenig
Thu Jan 22, 2015 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8129
Next

Return to advanced search