Search found 17 matches
- 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...
- 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...
- 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...
- Sat Feb 15, 2014 11:56 pm
- Forum: Challenges Solved
- Topic: Haven't We Met Before?
- Replies: 8
- Views: 889
- 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...
- Thu Feb 13, 2014 1:12 am
- Forum: Challenges Solved
- Topic: strlen
- Replies: 29
- Views: 3198
- Tue Feb 11, 2014 11:28 pm
- Forum: Challenges
- Topic: cave master
- Replies: 28
- Views: 33424
- Tue Feb 11, 2014 1:50 pm
- Forum: Challenges
- Topic: Life Skills
- Replies: 15
- Views: 20472
- 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...
- 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 ...
- Tue Feb 11, 2014 1:36 am
- Forum: Challenges
- Topic: Your Turn, Part Two
- Replies: 48
- Views: 49793
- Sun Feb 09, 2014 2:45 am
- Forum: Challenges
- Topic: Dungeon Master
- Replies: 66
- Views: 101812
- Sat Feb 08, 2014 2:16 pm
- Forum: Challenges Solved
- Topic: Affirmative
- Replies: 15
- Views: 1620
- Fri Feb 07, 2014 4:41 pm
- Forum: Challenges
- Topic: Didactic Text 4
- Replies: 20
- Views: 43778
- 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 ...