info-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SuDoku for GNUstep


From: Fred Kiefer
Subject: SuDoku for GNUstep
Date: Tue, 05 Jul 2005 01:54:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

As some german newspaper started to print Su Doku puzzles today I want
to announce SuDoku.app. If you don't know what Su Doku is, just stay
happy and spend your time programming for GNUstep. If you do and you are
already wasting a lot of your time on solving these puzzles, this
application may save you quite some time. At least this is what I wrote
it for. It solves Su Dokus just the way I would solve them, so that I
don't have to do it myself. I did get in contact with Su Dokus a few
months back while being in the Uk. There every news paper seems to have
them and they are even available online at The Times homepage.

I wont publish the code of this application on the GNUstep CVS site, to
not spoil the fun for those of you still trying to solve the puzzles,
but if you are interested I am willing to send it to you.

What does Su Doku.app do? It solves Su Dokus given in the file form:
(
      0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0,
      0, 0, 0, 0, 0, 0, 0, 0, 0
)

with non-zero values denoting preset or already computed values. 0 being
the unknown vaue. You may either solve them at once or step wise.

What it doesn't do currently is create Su Dokus on its own.


Have fun with it.

Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]