Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (404)
games submitted by our members
Games in WIP (289)
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 1695 times)
0 Members and 1 Guest are viewing this topic.
Offline nonnatsac

Junior Newbie





« Posted 2006-01-15 00:36:00 »

Hello!

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


Offline DonaldEKnuth

Junior Member





« Reply #1 - Posted 2006-01-15 07: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 Member




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


« Reply #2 - Posted 2006-01-15 14: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!
Try the Free Demo of Revenge of the Titans
Offline Malohkan

Senior Member




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


« Reply #3 - Posted 2006-01-15 17: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 20: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 20: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.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (43 views)
2013-05-17 21:29:12

alaslipknot (52 views)
2013-05-16 21:24:48

gouessej (81 views)
2013-05-16 00:53:38

gouessej (80 views)
2013-05-16 00:17:58

theagentd (89 views)
2013-05-15 15:01:13

theagentd (82 views)
2013-05-15 15:00:54

StreetDoggy (126 views)
2013-05-14 15:56:26

kutucuk (148 views)
2013-05-12 17:10:36

kutucuk (148 views)
2013-05-12 15:36:09

UnluckyDevil (158 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.097 seconds with 23 queries.