Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Sudoku, another one

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 02-12-2010, 06:56 AM
Senior Member
 
Join Date: Apr 2007
Location: Arlington, Washington USA
Posts: 176
Default

Sorry the solver code doesn't find difficult solutions. I thought it was a brute force approach which should solve anything.

I like the way you implemented the colors - toggling between numbers and colors.

For me, the editing of small numbers is quite useful. Your program, like all others, select candidates (small numbers) by eliminating any number already in the same row, column, or block. But there are other way of logically eliminating candidates. If I can edit your small numbers, I can reduce the set of candidates and sometimes see a result that would otherwise be obscured.

The other feature that makes solving puzzles less tedious is candidate filtering. Earlier I mentioned filtering on pairs (changing the background color of all cells with exactly two small numbers. A filter even more useful is the filtering of single numbers. For example, if I were filtering on two's then any cell with the number 2 as one of the small numbers would be highlighted. This makes it easy to spot single numbers that appear in only one row, column, or block.

I hate to keep putting forth my own preferences. I'm tempted to finish my own Sudoku program. I am sure there is zero demand for it but it is a good programming exercise and I could get it to work exactly the way I wanted. I did most of the UI a few months ago, and some of the program code. On the other hand, I don't want to compete with what you have written. It is a pretty nice program just the way it is!

-Dave
Reply With Quote
  #12 (permalink)  
Old 02-12-2010, 01:01 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Dave,

Thank you for your comments and suggestions.

I will think about, and probably implement them.

Best regards.
__________________
Klaus
Switzerland
Reply With Quote
  #13 (permalink)  
Old 02-19-2010, 06:36 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

There is a new version V1.5 in the first post.

Added dfallen's suggestions:
- editing of small numbers
- filtering on a given small number

Bug reports and improvement suggestions are, of course, still welcome.

Enjoy and best regards.

A more sophisticated solver is still missing, but will hopefully come quite soon.
__________________
Klaus
Switzerland
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blakodo Sudoku Obelix Share Your Creations 3 04-17-2009 04:32 PM


All times are GMT. The time now is 02:01 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0