Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  sudoku4k  (Read 2045 times)
0 Members and 1 Guest are viewing this topic.
Offline nonnatsac

Junior Newbie





« Posted 2006-01-14 23:36:00 »

Hello!

You're all invited to play this spare-time sudoku http://icecoffee.biz/java4k2006/sudoku4k.jnlp


Offline DonaldEKnuth

Junior Devvie





« Reply #1 - Posted 2006-01-15 06:22:15 »

Nice game! I've thought a lot about Sudoku (methods to solve it using AI, by logic and genetic algorithms and so on) but never actually tried to solve any. :-) So I didn't crack that one, I blame lack of sleep. I have only got one suggestion: If it is possible to name the button "Solve" instead of "Sol" I think you should do it, as it would like a tiny bit better.

Apart from that, great game!

Did you use any GUI components or did you draw it all yourself using primitives?

And another question. Do the puzzels only have one solution (as a "real" Sudoku should have), I completely understand if you are just shuffling random numbers in some way according to the game rules to generate your puzzles.

My 4k 2006 Entry: Sokoban4k
Offline arne

Senior Devvie




money is the worst drug- we should not let it rule


« Reply #2 - Posted 2006-01-15 13:50:57 »

Nice Smiley ,
but one should really be able to mark fields, where you're not sure, if it is the correct answer you've put there.
I had to make such a decision and it nearly worked, but only nearly. And by that time when I realized it, I had forgotten which fields I had to undo.

:: JOODE :: Xith3d :: OdeJava ::
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Malohkan

Senior Devvie




while (true) System.out.println("WOO!!!!");


« Reply #3 - Posted 2006-01-15 16:15:34 »

Well I played it and it seems so far to me like he's generating them properly Smiley  I've written a Sudoku game of my own and discovered that you can't simple throw in valid numbers and expect it to be solvable.  Even if the numbers you put in are valid according to Sudoku rules, you may be setting up an impossible board.  The fact that I haven't run into an unsolvable one says to me that it looks like he's doing it right! Smiley  Well done, I like it.

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Offline nonnatsac

Junior Newbie





« Reply #4 - Posted 2006-01-15 19:32:47 »

Nice game! I've thought a lot about Sudoku (methods to solve it using AI, by logic and genetic algorithms and so on) but never actually tried to solve any. :-) So I didn't crack that one, I blame lack of sleep. I have only got one suggestion: If it is possible to name the button "Solve" instead of "Sol" I think you should do it, as it would like a tiny bit better.

Apart from that, great game!

Did you use any GUI components or did you draw it all yourself using primitives?

And another question. Do the puzzels only have one solution (as a "real" Sudoku should have), I completely understand if you are just shuffling random numbers in some way according to the game rules to generate your puzzles.
Yes, "Solve" is much more meaningful and the "components" are custom drawings.
You're very right, a "real" Sudoku must have only one solution. (I ignore it initially) It's a "difficult" point. I have modified the game to generate one-solution sudokus, however there are simple sudokus. Maybe the next weekend i'll think a bit more about it and i'll try to generate more difficult sudokus.

Thanks for the comments!
Offline nonnatsac

Junior Newbie





« Reply #5 - Posted 2006-01-15 19:38:35 »

Nice Smiley ,
but one should really be able to mark fields, where you're not sure, if it is the correct answer you've put there.
I had to make such a decision and it nearly worked, but only nearly. And by that time when I realized it, I had forgotten which fields I had to undo.

It's a good idea. You could have 2 numbers in each cell, the actual big number in the center and other one small in a corner. I'll try to add it. Thanks!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (75 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (113 views)
2014-11-26 15:22:04

toopeicgaming1999 (100 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!