Author Topic: Sudoku 8X+  (Read 19413 times)

0 Members and 1 Guest are viewing this topic.

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Sudoku 8X+
« on: November 29, 2014, 09:01:27 pm »
Hey guys, I'm back! :D

I made a new game demo, this time of Sudoku!


Use the arrow keys to move the selection cursor. Press a number key (0-9) to enter a number in a square (0 means erase). In each empty square, pencilmarks have been added to show the possible candidates for the square. If there are no candidates, you made a wrong step in filling a square and have to try again. The program quits if all squares are filled in correctly or you press CLEAR.

There is a sample puzzle coded in, but if you want to change the puzzle, change GDB1 in the source file and recompile. The setup should be obvious for a puzzle, but please let me know if you have any questions.

Source file (ASUDOKU.8xp) and program file (SUDOKU.8xp) attached. Tell me your opinions so far.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Sudoku 8X+
« Reply #1 on: November 29, 2014, 11:09:26 pm »
Wow, this looks really great, i love how you organized everything! It would be nice to have a pack with several puzzles in it, though. Downloading immediately :D

I also love your 2048 clone. Your games are filling up my calc ;)

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Sudoku 8X+
« Reply #2 on: November 29, 2014, 11:45:30 pm »
Wow, this looks really great, i love how you organized everything! It would be nice to have a pack with several puzzles in it, though. Downloading immediately :D

I also love your 2048 clone. Your games are filling up my calc ;)
Thank you. This layout was actually the reason I made it, because every other Sudoku clone I saw either had no pencilmarks, showed them poorly, or was on the 89.

The final game will hopefully have a random puzzle generator. I'm getting to work on that.

Also, do you just have my Axe games, or my BASIC games as well? I have more BASIC games than are on ticalc.org, but it would take a clever search to find them...
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sudoku 8X+
« Reply #3 on: November 29, 2014, 11:46:51 pm »
Nice to see you back :D, you should stick around more :D


I like the game layout so far, although I think screenshots could use some better WabbitEmu settings. :P

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Sudoku 8X+
« Reply #4 on: November 29, 2014, 11:51:31 pm »
Nice to see you back :D, you should stick around more :D


I like the game layout so far, although I think screenshots could use some better WabbitEmu settings. :P
Noticed that as soon as I posted, but was already getting off the computer when I posted. I changed the settings, though, and the next screenshots will have gray, I promise ;)

Also, school keeps me busy, and I had no real motivation to post here (there's at least one little quick-and-dirty BASIC program on my calc I never got around to posting, and even though I figured out a fix for the win bug in TI-2048, I never updated :\ ). But now I have finally posted something, and have a motivation to come back.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sudoku 8X+
« Reply #5 on: November 30, 2014, 01:39:23 am »
Aah ok. I was worried you were done with Omni because you posted Vine projects and videos on Twitter every few hour each day, but no longer cross-posted them here, and at one point I thought you got fed up with Omni due to lack of Code Golf entries or something. I'm glad that isn't the case, though. :)

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Sudoku 8X+
« Reply #6 on: November 30, 2014, 01:43:02 am »
Aah ok. I was worried you were done with Omni because you posted Vine projects and videos on Twitter every few hour each day, but no longer cross-posted them here, and at one point I thought you got fed up with Omni due to lack of Code Golf entries or something. I'm glad that isn't the case, though. :)
Don't worry, I never got fed up, just busy. The contests took up more time than I thought. If you were moderator, you'd understand :P (also, lack of projects and ideas for projects :-\ )

Once I get done with manual pencilmarks, I'll post an update ASAP. ;)
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Sudoku 8X+
« Reply #7 on: November 30, 2014, 05:36:02 am »
I love the idea on how to edit the sudoku field ^.^

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Sudoku 8X+
« Reply #8 on: November 30, 2014, 07:10:26 am »
A couple thoughts and ideas:
-it would be really cool to have an undo button. I don't think it'd be too hard to do as you'd just need an array of the last few entries (like a miniature stack).
-it would also be nice to not have the pencil marks automatically update, ie. be able to type them in yourself. Maybe holding [2nd] or [Alpha] while pressing a number could update the pencil marks? With them updating automatically it can make it a bit too easy. So perhaps an option to turn that on/off?
-maybe adding a quicker way to jump between the 3x3 squares? (eg. [ + ]/[ - ] to cycle horizontally and [ x ]/[ ÷ ] to cycle vertically)
-it also might make sense to add [Del] as an alternative to [ 0 ] for erasing a number.

All in all i think it's really great, though with the pencil marks it's a bit easy. I hope you continue to work on it, i think it's already the best Sudoku program for the 83+. Nice work yet again! Ah, and yeah, i've only got your Axe games, i didn't know you had BASIC stuff, too.
« Last Edit: November 30, 2014, 07:18:53 am by chickendude »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sudoku 8X+
« Reply #9 on: November 30, 2014, 10:14:46 am »
Aah ok. I was worried you were done with Omni because you posted Vine projects and videos on Twitter every few hour each day, but no longer cross-posted them here, and at one point I thought you got fed up with Omni due to lack of Code Golf entries or something. I'm glad that isn't the case, though. :)
Don't worry, I never got fed up, just busy. The contests took up more time than I thought. If you were moderator, you'd understand :P (also, lack of projects and ideas for projects :-\ )

Once I get done with manual pencilmarks, I'll post an update ASAP. ;)
Trust me I know. I was Omni forum moderator until 2011 and there was a 400 posts/day spike that lasted half a year :P

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Sudoku 8X+
« Reply #10 on: November 30, 2014, 05:31:01 pm »
Aah ok. I was worried you were done with Omni because you posted Vine projects and videos on Twitter every few hour each day, but no longer cross-posted them here, and at one point I thought you got fed up with Omni due to lack of Code Golf entries or something. I'm glad that isn't the case, though. :)
Don't worry, I never got fed up, just busy. The contests took up more time than I thought. If you were moderator, you'd understand :P (also, lack of projects and ideas for projects :-\ )

Once I get done with manual pencilmarks, I'll post an update ASAP. ;)
Trust me I know. I was Omni forum moderator until 2011 and there was a 400 posts/day spike that lasted half a year :P
Well, then, I respect you. XD

I love the idea on how to edit the sudoku field ^.^
Thanks! Credit to Xeda Elnara for the keycode-to-number routine!

A couple thoughts and ideas:
-it would be really cool to have an undo button. I don't think it'd be too hard to do as you'd just need an array of the last few entries (like a miniature stack).
-it would also be nice to not have the pencil marks automatically update, ie. be able to type them in yourself. Maybe holding [2nd] or [Alpha] while pressing a number could update the pencil marks? With them updating automatically it can make it a bit too easy. So perhaps an option to turn that on/off?
-maybe adding a quicker way to jump between the 3x3 squares? (eg. [ + ]/[ - ] to cycle horizontally and [ x ]/[ ÷ ] to cycle vertically)
-it also might make sense to add [Del] as an alternative to [ 0 ] for erasing a number.

All in all i think it's really great, though with the pencil marks it's a bit easy. I hope you continue to work on it, i think it's already the best Sudoku program for the 83+. Nice work yet again! Ah, and yeah, i've only got your Axe games, i didn't know you had BASIC stuff, too.
No undo button, but I did do manual pencilmarks. I will update shortly. I might take your advice on the +, -, *, and / buttons, and I will DEFINITELY make Del another erase key.

Update shortly!
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Sudoku 8X+
« Reply #11 on: November 30, 2014, 06:17:05 pm »
Bump.

Update! Now added manual pencilmarking. Press ALPHA to toggle between pencil and pen mode (pen mode by default; in pencil mode, the grey cursor changes). Press a number on an empty square in pencil mode to add or remove the pencilmark for that number. You can move between squares in this mode.

Also, Del now erases squares in pen mode.

Screenie:


Source (ASUDOKUX.8xp) and program file (SUDOKU.8xp) attached. Please, give feedback!
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Sudoku 8X+
« Reply #12 on: December 01, 2014, 06:09:14 pm »
Bump.

Project update! Now added random puzzle generator that automatically creates a random puzzle upon startup. Occasionally, the puzzles may have more than one solution, and once I figure out a way to generate puzzles that does not have this flaw, I will update once again.

As usual, screenie:


Source (ASUDOKUX.8xp) and program file (SUDOKU.8xp) attached. As usual, put in your opinion about the program.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sudoku 8X+
« Reply #13 on: December 01, 2014, 09:01:06 pm »
Good job on those additions. :D

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Sudoku 8X+
« Reply #14 on: December 01, 2014, 09:14:10 pm »
Good job on those additions. :D
Thanks. I'm working hard to make a Sudoku puzzle generator that doesn't give puzzles with more than one solution.

In other news, my project has been featured as one of Cemetech's November POTMs!
« Last Edit: December 02, 2014, 10:13:01 am by JWinslow23 »
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?