Author Topic: [ENDED] Code Golf Contest #1 (thanks for the many submissions!)  (Read 36293 times)

0 Members and 1 Guest are viewing this topic.

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 Contest #1 (thanks for the many submissions!)
« Reply #45 on: July 19, 2014, 02:04:35 pm »
Sorry I didn't really read all, but are people compared by language or in a single batch (yeah I know this sounds stupid) ?
Both. There are winners for each language AND a winner out of every other winner. The overall winner decides the next challenge.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #46 on: July 19, 2014, 02:05:17 pm »
OK thank you. :) Might enter next one, we'll see.

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #47 on: July 19, 2014, 02:16:06 pm »
Oh, and can there be 68k BASIC? Although you can't really optimize (:P) I think it's good. That could also revive some the 68k community

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 Contest #1 (thanks for the many submissions!)
« Reply #48 on: July 19, 2014, 02:26:32 pm »
Princetonlion.tibd, literally EVERY computer AND calculator language is allowed.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #49 on: July 19, 2014, 03:38:31 pm »
Princetonlion.tibd, literally EVERY computer AND calculator language is allowed.
*.*
Awesome!
I am joining the next one.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #50 on: July 20, 2014, 10:57:28 am »
But if only 1 person enters in a specific language, does he win by default or is he matched against people who used other languages?

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #51 on: July 20, 2014, 12:00:52 pm »
But if only 1 person enters in a specific language, does he win by default or is he matched against people who used other languages?
I hope someone else does 68k BASIC... So I don't win be default

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #52 on: July 20, 2014, 03:29:59 pm »
Well, the per-language win doesn't actually net you anything, so I don't think it's important to make a distinction.

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #53 on: July 20, 2014, 08:08:28 pm »
I don't want to win the whole thing anyways, I can't choose topics.
Just some programming motivation

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 Contest #1 (thanks for the many submissions!)
« Reply #54 on: July 20, 2014, 09:47:56 pm »
OK, I have now made a rule change. Check the OP for the new rule. It will hopefully accommodate every winner.

Think of new puzzles now, all winners. I will be compiling them and choosing among them on Monday.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #55 on: July 20, 2014, 09:58:26 pm »
Here's my challenge for the pick:

Input: A string of any length, made up of clusters of characters and numbers separated by spaces.

Output: All non-numeric clusters, concatenated together in reverse order, with the sum of all numeric clusters following, all separated by spaces.

Example:
Input:"1 asdf 15 1fg Iamamazing 14"
Output:"Iamamazing 1fg asdf 30"

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 Contest #1 (thanks for the many submissions!)
« Reply #56 on: July 20, 2014, 10:42:02 pm »
Interesting challenge...it might take some explaining for some of the other participants, but interesting...


And all current winners in each language category, start submitting challenge suggestions. The real challenge will start on Tuesday.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #57 on: July 21, 2014, 08:44:43 am »
Perfect timing :P
I think I'll pass, I lost both of my calcs and still can't find them :P

I misplaced them  :banghead:
« Last Edit: July 21, 2014, 08:57:00 am by Princetonlion.tibd »

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 Contest #1 (thanks for the many submissions!)
« Reply #58 on: July 21, 2014, 11:11:51 am »
Too bad, Prince. :(

OK, I have now added the code that everyone has submitted. All code submitted is now in a spoiler in the OP.

Now is the time for everyone to think up a problem for the next competition! Well, all the category winners anyways. :P
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Code Golf Contest #1 (thanks for the many submissions!)
« Reply #59 on: July 21, 2014, 09:35:50 pm »
Just looked at the sources.
I am not that good a coder, so I think I'll make some more programs :P