Search found 31 matches: sudoku

Return to advanced search

Re: Sudoku with fwh

ON COLOR

Local nCol := oSquare:SelectedCol():nCreationOrder

IT IS BAD BECAUSE i NEED THE COLUM OD THE XBROWSE AND NOT THE COLUM SELECTED

THE ERROR : WHEN I SELECT A COLUMN IT CHANGE COLOR
by Silvio.Falconi
Thu Jan 22, 2015 9:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

... command and the menuitems Verify all Resolve method1 Resolve method2 Resolve method3 ---------------------- clear ---------------------- load a sudoku Save a sudoku
by Silvio.Falconi
Thu Jan 22, 2015 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

Silvio, the reason for the 2. xBrowse ( moved to the right hand side ) 1. I don't want to use the keyboard , to type a cellvalue. --- the numbered 1. col of the 2. browse works like a picklist of a number --- I just pick a number and click on any cell, I want to add it ( much better and faster ). 2....
by ukoenig
Wed Jan 21, 2015 8:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

yes but the user easy select allways the same sudoku ( he learn how resolve it )... ahahahahh :) Instead I made another function : the procedure select a sudolu on nRandom... Function SudokuLoad(nLevel)  Local aLoadstring:= Load_File_Sudoku(nLevel)  ...
by Silvio.Falconi
Wed Jan 21, 2015 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

I added some more functions : 1. The old selection http://www.pflegeplus.com/IMAGES/Sod1.jpg 2. Load the file http://www.pflegeplus.com/IMAGES/Sod2.jpg 3. Display the textfile ( includes 20 possible games ) with xBrowse and select a line http://www.pflegeplus&...
by ukoenig
Wed Jan 21, 2015 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: one array from two ( sudoku revenge)

... color but it not run ok (see ColorCellNew()) I made the func Wichnumbers to show on say the number possibles but this functionnot run ok //Project sudoku with xbrowse#include "Fivewin.ch"#include "Xbrowse.ch"Static oSquareStatic aDataStatic aSudokuStatic aOriginalstatic oSayText1static ...
by Silvio.Falconi
Tue Jan 20, 2015 1:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: one array from two ( sudoku revenge)
Replies: 5
Views: 1252

Re: one array from two ( sudoku revenge)

Silvio, I found another nice solution, that keeps the numbered area clean. http://www.pflegeplus.com/IMAGES/Sudoku3.jpg //Project sudoku with xbrowse#include "Fivewin.ch"#include "Xbrowse.ch"FUNCTION MAIN()Local odlg, oBrw1, oBrw2Local aSudoku  := { ...
by ukoenig
Tue Jan 20, 2015 12:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: one array from two ( sudoku revenge)
Replies: 5
Views: 1252

Re: Sudoku with fwh

for the color we can thik after

I think we must first create another array atest for insert the vertical datas

aPrompt[n], asudoku[n][1]....

as first column there are the letters and then the other columns
by Silvio.Falconi
Mon Jan 19, 2015 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

Silvio, the way You can control a xBrowse-cell from the matrix 9x9. Message on cell-click ( add the calculations what ever You want to do ) : ( only a click on a EMPTY cell is accepted ) I changed from numeric to character, to show empty cells It means for calculations the VAL( aSudoku[... ) must be...
by ukoenig
Mon Jan 19, 2015 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

Silvio,

I will try to add the missing parts / logic

best regards
Uwe :D
by ukoenig
Mon Jan 19, 2015 12:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

yes allready made Bu then i not Know How control each cell try this test Function Main()      Local odlg      Local aSudoku  := { { 0, 0, 0, 2, 0, 3, 8, 0, 1 }, ;                { 0, 0, 0, 7, 0, 6, 0, 5, 2 }, ;                { 2, 0, 0, 0, 0, 0, 0, 7, 9 }, ...
by Silvio.Falconi
Mon Jan 19, 2015 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

Silvio, YES, that is what I wanted to tell You, using xBrowse. My memory-game is created with XBROWSE . That makes is possible,to control all cells. Just in short the logic : each image is saved to a array like Image[5][6] // 5 Rows and 6 Cols. The 1. cell-click opens a image and saves the image-nam...
by ukoenig
Mon Jan 19, 2015 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

I think it can be made with xbrowse but I not Know how
I try with a simply array ( 9,9) but then I don't Know How control each cell of xbrowse
by Silvio.Falconi
Mon Jan 19, 2015 7:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

Uwe it not is the same perhaps you not know the rule of sudoku please go here http://www.sudoku.name I made this evening the resolve functions with some methods I saw the functions are good for the sudoku level 1,2,and 3 but from level4 i have some hard ...
by Silvio.Falconi
Sat Jan 17, 2015 8:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326

Re: Sudoku with fwh

Silvio, I think it comes close to the logic I'm using for my MEMORY-game this is much more complicated. You can use 4 players the same time with score-countings. You can download it for a test. http://forums.fivetechsupport.com/viewtopic.php?f=3&t=24794&p=137123&hilit=memory.zip#p137123 ...
by ukoenig
Sat Jan 17, 2015 1:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sudoku with fwh
Replies: 28
Views: 8326
PreviousNext

Return to advanced search