• [ENDED] (Results Soon) Code Golf - The Reboot #2 4 4
Currently:  

Author Topic: [ENDED] (Results Soon) Code Golf - The Reboot #2  (Read 42254 times)

0 Members and 1 Guest are viewing this topic.

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #60 on: June 13, 2015, 09:05:08 pm »
c4ooo: Let me guess: two getKeys near each other that both need to register in order to update the cursor?

CKH4, I'm interested to see your 41-byte solution and how similar it is to one of my earlier attempts.

Offline c4ooo

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 252
  • Rating: +10/-1
  • The impossible chemical compound.
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #61 on: June 13, 2015, 09:08:03 pm »
c4ooo: Let me guess: two getKeys near each other that both need to register in order to update the cursor?
Well, both DO NOT need to register in order to update the cursor, and I realy can't say anything more or else I will reveale to much    8)
-German Kuznetsov
The impossible chemical compound.

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #62 on: June 13, 2015, 09:10:56 pm »
Wait a minute... you shaved four bytes off your solution, not my 27-byte solution, right?

Offline c4ooo

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 252
  • Rating: +10/-1
  • The impossible chemical compound.
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #63 on: June 13, 2015, 09:13:41 pm »
Yea, my solution. Although I am one of the "project authors" , AOTM only @pimathbrainiac has the entries, and even if I had them, I would never take someone's entry and resubmit it, even if I optimized it. :P

Edit: I guess it doesn't really matter if I shave 4 bytes, couse ether way, I get get second place :D
« Last Edit: June 13, 2015, 09:18:04 pm by c4ooo »
-German Kuznetsov
The impossible chemical compound.

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #64 on: June 13, 2015, 09:43:54 pm »
So you have at most 36 bytes now, considering CKH4's 41 byte solution? That's below what I could get for a "sane" entry.
« Last Edit: June 13, 2015, 09:57:46 pm by lirtosiast »

Offline c4ooo

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 252
  • Rating: +10/-1
  • The impossible chemical compound.
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #65 on: June 13, 2015, 09:51:46 pm »
Nope, I have 45 without my 4byte optimization, the person in second place has 2 more  :)
Also, I decided to call it a day submitted my entry  :D
Edit:
So you have at most 36 bytes now, considering CKH4's 41 byte solution? That's below what I could get for a "sane" entry.
Well, pimathbrainiac has not updated the list, so I thought I had second when actually I have third place :(
« Last Edit: June 13, 2015, 10:04:47 pm by c4ooo »
-German Kuznetsov
The impossible chemical compound.

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #66 on: June 13, 2015, 10:26:27 pm »
Golf your solution by one more byte. You can do it!

Offline CKH4

  • LV3 Member (Next: 100)
  • ***
  • Posts: 42
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #67 on: June 13, 2015, 10:28:39 pm »
Mine might not count because of the poor getKey and a memory leak but if it does I'm proud of it.
Profiles:
        
Other Peoples Projects:
   
(I like parentheses)

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #68 on: June 13, 2015, 10:30:07 pm »
pimath said that solutions should work for an indefinite period of time and an indefinite number of key presses. If those weren't required I'd have 24 :P
« Last Edit: June 14, 2015, 12:25:24 am by lirtosiast »

Offline CKH4

  • LV3 Member (Next: 100)
  • ***
  • Posts: 42
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #69 on: June 13, 2015, 10:36:00 pm »
Mine works for an indefinite number of keypresses but only runs for about a minute. Otherwise I get 43.
Profiles:
        
Other Peoples Projects:
   
(I like parentheses)

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #70 on: June 14, 2015, 03:48:07 pm »
I guess the contest is over now. When the code is up I'll post an explanation for my solution, as well as a couple of earlier attempts.

Offline pimathbrainiac

  • Occasionally I make projects
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #71 on: June 14, 2015, 06:57:53 pm »
Yeah. The contest is over. I will post up the results and solutions in just a minute.
I am Bach.

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: Code Golf - The Reboot #2
« Reply #72 on: June 14, 2015, 07:00:09 pm »
Yeah. The contest is over. I will post up the results and solutions in just a minute.
Can't wait for Juju's contest. :)
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline pimathbrainiac

  • Occasionally I make projects
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #73 on: June 14, 2015, 07:02:42 pm »
Actually, c4ooo is up next, then Juju.

EDIT: the results might not be up until tomorrow. @c4ooo post your contest tomorrow regardless of whether or not the results are posted when you get on.
I am Bach.

Offline c4ooo

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 252
  • Rating: +10/-1
  • The impossible chemical compound.
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #74 on: June 14, 2015, 08:03:17 pm »
Actually, c4ooo is up next, then Juju.

EDIT: the results might not be up until tomorrow. @c4ooo post your contest tomorrow regardless of whether or not the results are posted when you get on.
Don't worry, will do 12PM sharp, also did you get my entry?
-German Kuznetsov
The impossible chemical compound.