Author Topic: Patz Calculator Sudoku  (Read 4757 times)

0 Members and 1 Guest are viewing this topic.

patz2009

  • Guest
Patz Calculator Sudoku
« Reply #15 on: October 26, 2007, 06:40:00 pm »
QuoteBegin-Liazon+25 Oct, 2007, 22:28-->
QUOTE (Liazon @ 25 Oct, 2007, 22:28)
interestingly, mathematicians say that 17 is the smallest # of known squares for a solvable single solution sudoku.

duno how they proved that, and duno if that means every 17 # sudoku is solvable.  

 Solve this sudoku:

c1
-->
CODE
ec11 2 3 | 0 0 0 | 0 0 0
4 5 6 | 0 0 0 | 0 0 0
7 8 9 | 0 0 0 | 0 0 0
------+-------+------
3 1 2 | 0 0 0 | 0 0 0
5 6 4 | 0 0 0 | 0 0 0
9 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 0c2
ec2
;)wink.gif


burr, that's about the only place I use randInt(1,9 , but that is a nice hint for future reference :)smile.gif And, I will definately put in your optimization into the program :)smile.gif

Liazon

  • Guest
Patz Calculator Sudoku
« Reply #16 on: October 27, 2007, 10:40:00 am »
lol i think there might be multiple solutions, but that's ok ^^

ya, clearly you're rotating blocks too.  what optimization do you mean?

patz2009

  • Guest
Patz Calculator Sudoku
« Reply #17 on: October 28, 2007, 11:40:00 am »
OK, should I include wrapping during gameplay (already exists on the main menu) or should I not bother and keep the program smaller? I would estimate that adding it would take about 30 bytes (not just for the code itself, but some for fixing referencing to matrices, etc)


Edit: I have 2 versions made, one with the wrapping, costing 2127 bytes, or one without the wrapping costing 2103 bytes. Which one do I release as the official version? ;)wink.gif

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Patz Calculator Sudoku
« Reply #18 on: October 28, 2007, 04:33:00 pm »
first one, it isn't really that big anyway ;)wink.gif
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Liazon

  • Guest
Patz Calculator Sudoku
« Reply #19 on: October 29, 2007, 11:37:00 am »
wrapping what?

and I agree w/ Kevin, it's not too big

patz2009

  • Guest
Patz Calculator Sudoku
« Reply #20 on: October 30, 2007, 01:42:00 pm »
QuoteBegin-Liazon+29 Oct, 2007, 16:37-->
QUOTE (Liazon @ 29 Oct, 2007, 16:37)
wrapping what?

and I agree w/ Kevin, it's not too big  

 Wrapping on the sudoku during game play. When you press right when it's on the other side of the screen, it will go to the left, etc.

Oh, and the old version got destroyed (RAM cleared.) so I might have to refix it up. I still promise to release it though ;)wink.gif

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Patz Calculator Sudoku
« Reply #21 on: October 30, 2007, 02:33:00 pm »
o.oblink.gif sroy to hear :(sad.gif ram clear sucks during projects :/confused.gif
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Liazon

  • Guest
Patz Calculator Sudoku
« Reply #22 on: October 31, 2007, 02:39:00 pm »
at least the new version w/ wrapping is okay right?

patz2009

  • Guest
Patz Calculator Sudoku
« Reply #23 on: November 07, 2007, 01:53:00 pm »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Patz Calculator Sudoku
« Reply #24 on: November 07, 2007, 03:40:00 pm »
cool I will try it asap!
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)