Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Sorunome on October 10, 2013, 03:23:16 pm

Title: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on October 10, 2013, 03:23:16 pm
So yeah, i'll try to make it in time, make a binary puzzle in ti-basic! (and hope i won't lose code, lol)

Also, is it ok if I make the engine and shamelessley rip the puzzles off of http://www.binarypuzzle.com ?
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Streetwalrus on October 10, 2013, 04:01:16 pm
Shamefully*/me runs
Nah it sounds fun. I hope you can pull it off. ;)
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: MGOS on October 10, 2013, 04:27:11 pm
Those puzzles are actually more fun than they look at first... what I'd like to see is some kind of error highlighting - that lacks the original ;)

Good luck Sorunome :)
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: harold on October 10, 2013, 04:51:54 pm
Well as you may know I made this (http://www.windowsphone.com/en-us/store/app/binary-puzzle/23a855bc-3e56-4720-8444-e03127006e4e), so if you need any help.. (with, say, a ton of 8x8 puzzles, so you don't have to rip that site)
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on October 11, 2013, 09:43:40 am
Well as you may know I made this (http://www.windowsphone.com/en-us/store/app/binary-puzzle/23a855bc-3e56-4720-8444-e03127006e4e), so if you need any help.. (with, say, a ton of 8x8 puzzles, so you don't have to rip that site)
ha, thanks!


Also, are we allowed to use 'hacked' tokens for pure basic, like the 11th matrix etc? (as they don't require another prog on your calc)

EDIT: progress!
(http://img.ourl.ca//WIP-1.gif)
It checks if the field is pre-defined before changing, the field is set over a matrix which is hard-coded though :P
Anyways, next i'll need to check if you won :)
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: harold on October 11, 2013, 11:22:11 am
I can deliver the puzzles as solution+mask, that way the "win" check is trivial
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on October 11, 2013, 11:22:41 am
i didn't want to do it over a mask to be more awesome, but thanks anyways ^.^

EDIT: w/e, i'm doing a mask, i just came up with a epic idea on how to, so if you could give me those it would be so awesome :3

EDIT2: ok, i got the mask working ^^ lol, i'm so speeding through this xD
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: harold on October 11, 2013, 12:14:22 pm
Here are some, format is mask (hex), solution (hex), hardness, timestamp.
The levels are a better indication of how hard they are, but within a level the hardness is relevant.
level 1 (https://dl.dropboxusercontent.com/u/27035142/level1.txt)
level 2 (https://dl.dropboxusercontent.com/u/27035142/level2.txt)
level 3 (https://dl.dropboxusercontent.com/u/27035142/level3.txt)
level 4 (https://dl.dropboxusercontent.com/u/27035142/level4.txt)
level 5 (https://dl.dropboxusercontent.com/u/27035142/level5.txt)
level 6 (https://dl.dropboxusercontent.com/u/27035142/level6.txt)
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on October 11, 2013, 12:16:33 pm
*level overflow*
Anyways, thank you!
What puzzle sizes do you use?
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: harold on October 11, 2013, 12:22:12 pm
Only 8x8, easier to work with (just some nice 64bit bitmath). Added a level 6 btw, for truly insane stuff.

Btw, I didn't include mirror images, rotations, or inversions. So you can make approximately 7 times as many puzzles (you'd think 8, but sometimes they're symmetric so the (inverse of) mirror image or rotation is the same as the original) with these.
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on October 29, 2013, 07:50:29 pm
holy sh*t, either i'm parsing those wrong or level1 is rediculous hard O.O

EDIT: Maybe it is just me being brain-dead late at night.

Anyways, nice update with a menu, level select, speed optimization and loading data off of a list.

Here's a screenie:
(http://img.ourl.ca//WIP-2.gif)

Maybe i'll be able to remove the flickering a bit more, but i am far to tired at 2:20 in the morning ;)

EDIT2: also, any feature ideas?
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Le solutionneur on October 30, 2013, 07:34:12 pm
If you want to use the puzzles offered on http://www.binarypuzzle.com then you should contact them ;)
[email protected]
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: AssemblyBandit on October 31, 2013, 01:01:10 am
It looks like your almost finished! Very nice!
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on October 31, 2013, 07:32:16 am
If you want to use the puzzles offered on http://www.binarypuzzle.com then you should contact them ;)
[email protected]
I use the ones harold gave me, but thanks :)
It looks like your almost finished! Very nice!
Ha, thanks :)
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Streetwalrus on November 01, 2013, 01:48:37 pm
What's with the flicker. O.O
But it looks nice otherwise.
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on November 01, 2013, 01:49:19 pm
the flicker is called clearing and drawing  the screen
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Streetwalrus on November 01, 2013, 02:41:29 pm
Lol why do you redraw everytime ?
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on November 01, 2013, 02:43:30 pm
because you can't delete lines in pure basic, can you? Only drawing lines, not erasing :(
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Streetwalrus on November 01, 2013, 02:47:28 pm
I think you can. Check this out : http://tibasicdev.wikidot.com/line
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Sorunome on November 04, 2013, 08:01:41 am
Ha, didn't know that, thank you, I removed the flickering now completley :)
Title: Re: [Contest 2013][Basic] Binary puzzle
Post by: Streetwalrus on November 06, 2013, 01:52:21 pm
Cool to hear. ;)