Sodoku

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Sodoku

Post by Vera »

waffle wrote:ok, custom colors added :)
HURRAY ~ you did it - and I exchanged that dreadful look above with a colorful collage Image
waffle wrote:And, I have not shot you yet ;)
good you didn't - now thousands of thank yous will soon be on the way :mrgreen:
(and a surprise is yet to come)

cheers ~ Vera
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

Re: Sodoku

Post by waffle »

version 1.8 is ready :)

Added more colors ( colors were added in 1.7, but I did not announce 1.7)

Improved file management...
When you launch Sodoku next time, it will ask if you want to sort files.
It will move all *.SMS to Master
and all *.SSV to Save

This is because I have about 50 *.sms, and the main directory was getting cluttered :)
Maybe yours is too, this will clean things up a bit.
Code is good... Its an international language.
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Sodoku

Post by Vera »

waffle wrote:Added more colors
that's topping the top :)
what great freedom - but now also a big challenge to find out ones suitable composition :lol:
waffle wrote:Improved file management...
hihi - I didn't dare to ask yet and take it as initial impulse to overhand you my help-version now: removed* enjoy
waffle wrote:This is because I have about 50 *.sms, and the main directory was getting cluttered :)
good reason - but while testing I quickly remove the whole lot when it reached about 10 files and I loose overview which of them had been setup under which conditions and start anew.

'til later ~ Vera

edit: *removed outdated link
Last edited by Vera on Fri Dec 17, 2010 12:37 pm, edited 1 time in total.
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

Re: Sodoku

Post by waffle »

Version 1.81 :)
sorta fixed the flickering if the size is too small.
If the size is to small, it will simply clip the controls instead of preventing the size
from being too small.

Added Help file edited by Vera 8)

I hope I am done playing with this, but I know I am not.
I play Sodoku more than Solitair (spider) now.
It is nice having my "own" vavorite game, because if it frustrates me I just
call up PB and "fix" it :))

I Think maybe I need to revisit "MyPad", my HTML editor and "fix" it too, finally.
I have been use the same version for 3 years without any updates, so, maybe its due :(
Code is good... Its an international language.
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Sodoku

Post by Vera »

Hi,

happy to see you like the help version Image

Yes the flickering is gone and the user may now resize even down to zero - and you can make it more thrilling if you hide parts of the display <just for fun or deasing your sister> :lol:

Before you're done - I've three further suggestions:

1 & 2 - as your game is open to the public I would add two more passages into the readme - something like:
INSTALLATION
WSodoku is fully standalone and portable and does not leave any traces on your system. Just unpack the download and WSodoku is ready to run. As it keeps everything within it's own application folder it may be installed anywhere except for the Program Files or other systemfolders if you're using it on Vista, Win7 or XP without admin rights.
To unstall simply remove the whole application folder and your done.

LICENCE
WSokodu is freeware and may be used at your own risk.
You may share it with anybody as long you preserve the original edition and do not raise any profit from it.
By running WSodoku you're agreeing to this licence.


3 - a happy solution award
when you've gone though a whole game and finally managed to solve it - nothing happens - that's kind of frustating. So I've been thinking about this the whole time already and pondered various solutions starting with a simple but funny messagerequester - made a special button with neotomas SoftBumpBox [give it a look - it's brilliant] - and thought to suggest to you to let the fields flicker colorfull about 3-9 times.

Wondring how this could be done I've created a little 'animation' that could popup on a solved game: at the moment you can find the actual version here. Below there's a fancy suggestion by RASHAD which is very nice too.

have a look and have fun
It is nice having my "own" vavorite game, because if it frustrates me I just call up PB and "fix" it :))
you're a lucky man :wink:

~ Vera
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

Re: Sodoku

Post by waffle »

Additional updates...
Added End Game animation and sound ...
well, not really sound. It uses windows default "#MB_ICONQUESTION" sound, but
you can select a custom sound. I use "applause.wav" that I got from GameMaker :)
That site is ok for obtaining freeware media.

The animation is nothing fancy (sorry, I am not much for fancy) Its just the boxes change colors.

I also modifies the menu slightly (the color menu was bothering me where it was)
And made it so the colors change right away instead of after selecting another number.

Also updated the Help file to reflect these changes.


Hope I am done with this, but I know better. I already have a major change idea...
Adjustable dificulty levels, and ensuring only one solution is possible...
But this will take several beers before attempting :idea:

Maybe better to just leave it here before I "break" it or become exhausted from working on it.
Its a hobby, not a job :) I think of adding an add-banner option to get "click-points" but I doubt
anyone would be interested in that. Better to just have a link to my website in the help file.
For me, anyway.
Code is good... Its an international language.
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Sodoku

Post by Vera »

Dear Waffle,

big, big thanks for such a nice game and solutionfinder for those who've fallen into despair :lol:

thanks for regarding so many requests and I like the way you implemented the endgame animation and the addition of a soundevent. (I've chosen a piece of classical music at the moment)

One hint is left to be made: by changing the creation comment in the html file you deleted part of the enclosing tag which then corrupts all following code (only the end tags). Comments are enclosed by: <!-- your comment -->

and while you have a beer - I'll have a coffee ~ Image

cheers ~ Vera
infratec
Always Here
Always Here
Posts: 7583
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Sodoku

Post by infratec »

Hi waffle,

to center the digits try

Code: Select all

StringGadget(0, 10, 10, 100, 20, "", #ES_CENTER)
I hope #ES_CENTER was that what you are missing.

Bernd
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

Re: Sodoku

Post by waffle »

thanks,
I did not think to try using windows constants....
I guess it shows it has been awhile....
I should have known to look for that, I was using that for some of my other apps :oops:
Really true since my IDE (for DBC) was originally coded using edit gadgets before scentilla :)

I will post the latest version of sodoku in the morning (about 12 hours from now, if you check the time)
waffle
Code is good... Its an international language.
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

Re: Sodoku

Post by waffle »

Just added adjustable skill level
Added number markers to number bar ....
These mark numbers with a "*1* or *2*... if all numbers are placed.

I knew I could not leave this game alone for too long :)
Code is good... Its an international language.
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Sodoku

Post by Vera »

Hi waffle,

that's good to see if all numbers of a certain number are filled in - saves you counting ;)

Also the new skills are fine - especially super easy - if one is too tired to be bothered much, but still wants a successful game :lol:

two suggestions:
- why not apply the new HelperApp to WSodoku as well ?
- as you write 'Skill' in the help I would also use it in the menu, besides it's more of a challange than choosing 'difficulties' ;)

two minor issues (just to let you know, as they're no real prob):
- when solving a game all numbers are assinged by **. Now, when starting a new game these markers are not cleared until you fill in the very first number.
- Marking Back Color: if marking is activated all seated numbers are highlighted well (e.g.:red). Then I select the rows to apply the 'row-highlighting' - all is fine. NOW: I deselect a row-highlighting the red-background of the current custom-filled numbers are turned to the 'Number Back Color' and only the master numbers stay red-highlighted. This cannot be recovered until you switch to a different number and back.


I like playing WSodoku as a break and it also helps to recover worn out concentration :mrgreen:

cheers ~ Vera
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

Re: Sodoku

Post by waffle »

Fixed all issues :)
Code is good... Its an international language.
Post Reply