Search found 17 matches

by Tabun
Mon Mar 10, 2014 10:41 pm
Forum: Challenges Solved
Topic: Shattered and Shuffled
Replies: 13
Views: 1131

This was pretty fun! I had most difficulty getting the edges in place before filling in the rest. By the time I'd tweaked the checks for shape and color enough to get the edges right, the program could fill in the rest on its own. I had to correct a wrong pick twice, after that it was smooth sailing...
by Tabun
Fri Mar 07, 2014 3:23 pm
Forum: Challenges Solved
Topic: Spiral Bits
Replies: 31
Views: 2749

My math is weak, so I did this like a true graphics hacker. I actually think this was a relatively easy challenge -- I think messing around with huge numbers and complicated mathematics is way harder than simply doing some intuitive/basic checks on a bunch of pixels... Took the main image, blew it u...
by Tabun
Wed Feb 26, 2014 1:29 pm
Forum: Challenges Solved
Topic: Exclusive Or
Replies: 24
Views: 4468

I'm also writing a HVM compiler that turns a C-like script language (which I call PreHVM) into a working HVM program. Kinda like witschi, only I went overboard: I made it track 'variables' on the stack, evaluate complex expressions with almost all operators C uses, with if/elseif/else and while stru...
by Tabun
Sat Feb 15, 2014 11:56 pm
Forum: Challenges Solved
Topic: Haven't We Met Before?
Replies: 8
Views: 889

Actually the first HVM challenge that I feel I got too much bloat on.. Fun one though!
00^<1v0^1+2v0^2v0^<2v:83*?0^92+:2?6gdd1+1c1+1v93+c<p
by Tabun
Thu Feb 13, 2014 4:37 pm
Forum: Challenges Solved
Topic: lotsa dots
Replies: 26
Views: 2244

I just solved it with a little PHP script: <?php $im = imagecreatefrompng('http://www.hacker.org/challenge/misc/stars.php'); ?> That's what I tried at first, but how did you manage to keep your hacker.org session going for that? I had to get the file's contents through fopen, just so I could send m...
by Tabun
Thu Feb 13, 2014 1:12 am
Forum: Challenges Solved
Topic: strlen
Replies: 29
Views: 3198

00<6?1+0^2cp

Note: I think it's awesome to read all the different ways people do this -- I think it's an amazing thing that such a short program in such a terse language can create this beautiful diversity. :]
by Tabun
Tue Feb 11, 2014 11:28 pm
Forum: Challenges
Topic: cave master
Replies: 28
Views: 33424

1814 ..
by Tabun
Tue Feb 11, 2014 1:50 pm
Forum: Challenges
Topic: Life Skills
Replies: 15
Views: 20472

gandhi wrote: Iḿ not sure about the gliders.

Do they "travel in space" forever? :(
Why wouldn't they? If a certain pattern going through the same patterns over and over again never meets anything, what could possibly change its behavior?
by Tabun
Tue Feb 11, 2014 12:58 pm
Forum: Challenges Solved
Topic: Cavern Master
Replies: 5
Views: 519

I used a combination of a local PHP proxy page and a javascript/iframe combination (to avoid the CSS block for javascript). This overcomplicates some things, while keeping others simple (I guess it's just a weird kind of selective laziness). I ended up using a database to store the frequency of (typ...
by Tabun
Tue Feb 11, 2014 1:42 am
Forum: Challenges Solved
Topic: Your Turn, Part Two
Replies: 2
Views: 234

Fun fact: I 'solved' this one by randomly replying yes/no (after I found out it was a single static test), and I got it on the second try. Heh. Could've easily done it with a text file 'memory' of course, but meh. Would've been more fun if there would've been some trick to it, like spaces added, or ...
by Tabun
Tue Feb 11, 2014 1:36 am
Forum: Challenges
Topic: Your Turn, Part Two
Replies: 48
Views: 49793

I'm okay with this challenge. It requires some debugging if you approach it the easy way. It's not that hard to work around. This is not am accredited web development course, it's a hacker challenge. :]

[edit: removed some stuff after I discovered this was not the 'solved' thread]
by Tabun
Sun Feb 09, 2014 2:45 am
Forum: Challenges
Topic: Dungeon Master
Replies: 66
Views: 101812

But fragman, all the fun is in making a script for the best 'power play'. :]
by Tabun
Sat Feb 08, 2014 2:16 pm
Forum: Challenges Solved
Topic: Affirmative
Replies: 15
Views: 1620

It was pretty funny. I just saw the yesses, tried to 'yes' and 'no', and that was that.
After that, it was super easy to find out how to get 'no' from the actual content, but I'll bet it would've taken a bit longer if I didn't know what to try and get out of it exactly.. :]
by Tabun
Fri Feb 07, 2014 4:41 pm
Forum: Challenges
Topic: Didactic Text 4
Replies: 20
Views: 43778

Fun challenge. Meticulous and systematic approach is advisable.
The only thing that I disliked were the unnecessary distracting 'unused bits'. If they were added to make it harder to solve, I'd have much preferred a tougher consistent 'scheme' instead!
by Tabun
Thu Feb 06, 2014 1:07 pm
Forum: Challenges
Topic: A Hundred 0s
Replies: 33
Views: 63985

Don't agree with fragman. When you really find out what to do, it's hard to miss. If you don't feel it click mentally, you probably still don't know what to look for. To everyone searching endlessly for game results, statistics, stock index values, etc... you're wasting your time. You have to think ...