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

0 Members and 1 Guest are viewing this topic.

Offline CKH4

  • LV3 Member (Next: 100)
  • ***
  • Posts: 42
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #45 on: June 12, 2015, 02:06:23 pm »
@lirtosiast that is rediculous. My entire getKey is larger than that. I guess I could cheat with a 1 pxl window and have it throw err. Domain on a keypress but that's not exactly fair.

Also thanks pimath for updating it. I guess I'll submit because I'm in second place.
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 #46 on: June 12, 2015, 02:13:21 pm »
I would have had 26, but on one out of every literally hundreds of billions of keypresses that solution sometimes moves the pixel over by one.

A small hint: In my official solution, there is only one "getKey", and I don't store it to any variable, not even Ans.
« Last Edit: June 12, 2015, 02:16:53 pm by lirtosiast »

Offline CKH4

  • LV3 Member (Next: 100)
  • ***
  • Posts: 42
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #47 on: June 12, 2015, 02:17:30 pm »
I think I know how you did it now. I bet that if I tried it it would end up being bigger than my current setup. I'll try though.
Profiles:
        
Other Peoples Projects:
   
(I like parentheses)

Offline ordelore

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +7/-0
  • Genius and Friend
    • View Profile
    • ordelore8x
Re: Code Golf - The Reboot #2
« Reply #48 on: June 12, 2015, 02:26:29 pm »
254 Bytes in Axe Parser.
I am a friend.
I mine Bitcoins.

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #49 on: June 12, 2015, 02:55:58 pm »
Finally an Axe answer. That's the source, not the machine code, right?

Offline ordelore

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +7/-0
  • Genius and Friend
    • View Profile
    • ordelore8x
Re: Code Golf - The Reboot #2
« Reply #50 on: June 12, 2015, 02:57:33 pm »
Wait, source is what we're being judged on?!?
I am a friend.
I mine Bitcoins.

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 #51 on: June 12, 2015, 02:58:19 pm »
Axe is supposed to be counted in Source bytes...
I am Bach.

Offline ordelore

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +7/-0
  • Genius and Friend
    • View Profile
    • ordelore8x
Re: Code Golf - The Reboot #2
« Reply #52 on: June 12, 2015, 03:00:38 pm »
Never mind, 84 bytes.
I am a friend.
I mine Bitcoins.

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Code Golf - The Reboot #2
« Reply #53 on: June 12, 2015, 10:19:38 pm »
I did an attempt in TIS-100 and got 392 bytes :P (337 if not counting header/extra whitespace in the save file)

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #54 on: June 12, 2015, 11:31:42 pm »
Resubmitted a working one without key repeat. 87 bytes now. Gonna keep trying and try to shrink it down. A different approach seems in order. Also @ everyone: You should submit your entry regardless of it being the smallest or not. This contest is about having fun, learning, and see what others did that you could have done better. It'll be good to see everyone's code at the end. ;)

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #55 on: June 13, 2015, 12:08:30 am »
I agree with Art_of_camelot. The existence of a better solution shouldn't prevent anybody from submitting one.

Offline Siapran

  • LV3 Member (Next: 100)
  • ***
  • Posts: 58
  • Rating: +28/-1
  • Space Dwarf
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #56 on: June 13, 2015, 05:38:59 am »
133 chars in pico8_0.1.1

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 #57 on: June 13, 2015, 10:11:00 am »
Axe is supposed to be counted in Source bytes...
I've always counted Axe as the final program size. For various reasons.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Reboot #2
« Reply #58 on: June 13, 2015, 10:49:57 am »
If we count Axe as machine code size, then we should score it in the same category as assembly, which gives it a distinct disadvantage.

EDIT: Sorry, my clumsy fingers on mobile accidentally rated this post one star. :-\ Is there a way to undo it?
« Last Edit: June 13, 2015, 06:42:36 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 #59 on: June 13, 2015, 07:33:36 pm »
Can I infer that the user has certain variables set to certain value?

EDIT: Sorry, my clumsy fingers on mobile accidentally rated this post one star. :-\ Is there a way to undo it?
By having everyone rate it 5-star   :D

Edit: Also, I was able to save four bytes, but now do to the get key system, sometimes when you press a key the pixel does not move, and you have to spam the key. Will that be allowed where you have to spam the key in order for it to move? :P
« Last Edit: June 13, 2015, 08:39:31 pm by c4ooo »
-German Kuznetsov
The impossible chemical compound.