Poll
Question:
Which entry is your favourite?
Option 1: brentmaas
votes: 0
Option 2: Ivoah
votes: 3
Option 3: SJCubed
votes: 2
Option 4: utz
votes: 1
Introducing a new series of contests: CWick Contests! (Pronounced like "quick", but with a CW pun. Everyone like puns.) It's much like the Code Golfs we used to do on Omnimaga, as in, the tasks asked should be simple to do, perhaps done in a few hours and you have a week to do so, but it's not a specific task with defined input/outputs you have to make in the least bytes possible, it's more your usual contest/game jam/puzzle where the best one wins. So, each week or so, I come up with a topic, puzzle or constraint and you have to make the best one within a week. You'll be rated and you can win WalriiPoints according to it, which will be shown in your profile. Sounds good enough? Maybe actual prizes will be related to them in the future? Who knows?
This week, I'd go with the most vague topic ever: program anything fun. But there's a constraint: you should be able to send it on Twitter. 140 characters or less, or if you're on a calc, the source should be 140 bytes without the header. You can make anything, a demo, a game, but it should be entertaining. Every language I can run is accepted, but calc languages are evidently advantaged (for obvious reasons). PM me the source to your entries or email them to contest @ codewalr.us (with your username, of course, subject line mentioning the name and number of the contest and a readme) by next Thursday at midnight EDT, have fun! Of course, you should be a member of CodeWalrus so you can claim your prize :P
The rating will go as well (adapted from the last 4x3 contest, may change anytime):
[spoiler]
*(20 pts) Originality: Is it just another tic-tac-toe clone that looks exactly like the 100 other ones in ticalc.org archives?
*(20 pts) Creativity: How you managed to cram something into the constraints? Was your choice reasonable? Did you used a clever trick?
*(20 pts) Fun: Is it fun? Would you play it again in the future?
*(20 pts) Size, speed, installing & bugs: Is the file size reasonable for what it offers? Does it looks like it's above the constraints? Does it actually respects them? Is it too slow? Is installation easy? Is it bug-ridden?
*(10 pts) Gameplay: How well does it plays? Are controls well-chosen, if any? Is it too slow to be playable?
*(10 pts) Graphics: How well it is shown under such constraints? Does it look well-polished?
[/spoiler]
And if you have ideas for a future quick contest, if you have a suggestion, or if there's anything not clear, please PM or email me about it :P
(EDIT: Changed name of the contest for DJ's pun, I like it :P)
EDIT2: More rules! You can't release the source before the contest ends, it's preferable to keep all the 140 bytes in the same file (no cheats and workarounds!), yes, 140 bytes is the source size (bonus if you keep the compiled program under 140 bytes too!), unless you go with PICO-8 (or any tokenized language like 83+ BASIC/Axe), then it's 140 tokens. Anyway, I should be able to figure out how to compile your program with only your 140-byte source file alone and the knowledge of the standard libraries used (if you provide a makefile or something like that it isn't counted, but don't abuse compiler options or putting additional stuff in libraries). I may or may not run the source through a number of tests, such as compiling it and executing it, but also checking the algorithm and running it through various alternatives compilers and interpreters, if any, or just generally messing with it.
EDIT3: Vote! The entries are here (https://codewalr.us/contests/201509-cwick-contest-1/)!
Awesome! I really like the idea of mini contests. If I make a computer program, does the source need to be <= 140 bytes or the compiled program?
Quote from: Ivoah on September 24, 2015, 05:39:49 AM
Awesome! I really like the idea of mini contests. If I make a computer program, does the source need to be <= 140 bytes or the compiled program?
The source. Always the source. Bonus if the compiled program is less than 140 bytes as well.
For TI-BASIC, would ClrHome count as 1 character or would it count as 7? Also, how does one make a game in 140 characters of code? :P In any case, I am interested to see what people will come up with. :)
Regarding Walrii Points, there isn't really a viable SMF Award/achievements mod, though. There is this but that might not be compatible. So maybe for now Walrii Points should be displayed in a topic?
Quote from: DJ Omnimaga on September 24, 2015, 06:16:21 AM
For TI-BASIC, would ClrHome count as 1 character or would it count as 7?
It's counted in bytes, so ClrHome would be one or two.
For the Walrii points, it should be easy to make an SMF mod to keep track of them. Or just add a custom field to the profile and only let admins edit it.
Quote from: DJ Omnimaga on September 24, 2015, 06:16:21 AMAlso, how does one make a game in 140 characters of code? :P In any case, I am interested to see what people will come up with. :)
Does it have to necessarily be a game?
It has to be "something fun". That's a pretty wide subject, and games are only a subset of it.
How many entries per user are allowed?
Quote from: Streetwalrus on September 24, 2015, 12:27:21 PM
It has to be "something fun". That's a pretty wide subject, and games are only a subset of it.
Cool, that's what I thought.
Quote from: brentmaas on September 24, 2015, 02:40:10 PM
How many entries per user are allowed?
I suppose one, I'm not really sure of anything. :P
Can we submit our entries via twitter? :P
Quote from: Streetwalrus on September 24, 2015, 11:06:20 AM
Or just add a custom field to the profile and only let admins edit it.
That's exactly what I did. Look at my profile, for instance.
Quote from: Streetwalrus on September 24, 2015, 02:55:42 PM
Quote from: brentmaas on September 24, 2015, 02:40:10 PM
How many entries per user are allowed?
I suppose one, I'm not really sure of anything. :P
I dunno, I guess you can always send more than one, but it's not recommended. No more than two or three, at least.
Quote from: Ivoah on September 24, 2015, 03:03:15 PM
Can we submit our entries via twitter? :P
Of course, send your entry to user @CodeWalr_us (http://twitter.com/CodeWalr_us).
Great contest idea! The hard part will be figuring out what to do :P
Oh yeah, are the rules the same as the 4x23 contest? Do we need a topic?
Quote from: Unicorn on September 24, 2015, 04:34:22 PM
Oh yeah, are the rules the same as the 4x23 contest? Do we need a topic?
The rules areb largely inspired from the 4x3 contest, but you don't have to make a topic, although it's recommended.
Oh cool idea :). I'll see what i can come up with
Quote from: Juju on September 24, 2015, 03:37:05 PM
Quote from: Streetwalrus on September 24, 2015, 11:06:20 AM
Or just add a custom field to the profile and only let admins edit it.
That's exactly what I did. Look at my profile, for instance.
Hahahaha nice one.
I will absolutely participate too if I find time. I am working for school and the microcat is waiting too. The OS sadly doesn't write itself alone.
Can you run haskell?
Yeah, he has access to Linux and OSX so he can.
I can run mostly every language you can run on a PC, on calcs, not so much, I can always ask DJ for that, that or you can always send me a video, I guess.
https://codewalr.us/index.php?topic=730.0
I'll mail the entry anytime soon.
Finally a contest. I was waiting for one of these. I will definately do something for this, if I get a good idea for it.
Oh no! Its going to be hard thinking up an idea...
Could it be like a mini-movie?
Sure, as long as it's fun.
Okay. I feel like that is what I am going to do. ;)
nspire lua is not agreeing with this limit. function on.paint(gc) and gc:drawRect themselves take up over 30 characters. That is without arguments for drawRect and end for on.paint. Then there is on.activate and on.timer. This is going to be quite difficult.
Since BASIC is measured in tokens, could PICO-8 programs be measured by tokens too? That's what the built in code limit uses, and it's also what the size indicator in the bottom right corner shows.
Quote from: Ivoah on September 25, 2015, 12:34:37 AM
Since BASIC is measured in tokens, could PICO-8 programs be measured by tokens too? That's what the built in code limit uses, and it's also what the size indicator in the bottom right corner shows.
Well, that's kind of a gray area here. 0.1.0 counted characters, while 0.1.1 counts tokens, but it's still saved as characters IIRC. I gotta check this out... I'd say to count characters.
Quote from: Juju on September 25, 2015, 01:24:37 AM
Quote from: Ivoah on September 25, 2015, 12:34:37 AM
Since BASIC is measured in tokens, could PICO-8 programs be measured by tokens too? That's what the built in code limit uses, and it's also what the size indicator in the bottom right corner shows.
Well, that's kind of a gray area here. 0.1.0 counted characters, while 0.1.1 counts tokens, but it's still saved as characters IIRC. I gotta check this out... I'd say to count characters.
Aww :(
IIRC in Code Golf Rebooted i counted characters not tokens.
*awkward moment because juju was the only one who ever submitted a PICO-8 entry*
/me runs
Meh, okay, I'll give you a chance, let's count tokens.
Does the 140 bytes include any images that my code relies on and loads. Otherwise I will just draw rectangles or something.
If they're considered inputs (and therefore I can replace them with whatever image that can fit), no.
Quote from: Juju on September 25, 2015, 01:57:45 AM
Meh, okay, I'll give you a chance, let's count tokens.
Woo!
hmm... now I need an idea that can go with a cmd theme... :P
Maybe some sort of color changing program...
I have been trying to make something in lua for the nspire for hours now. I could not make anything at all that came even close to 140 bytes in source size. Anyways, I look forward to the next competition. Hopefully I will be able to do something.
Heh, you can always try another language, if you can.
So far, it looks like for this contest that only TI-z80 Basocand to a lesser extent Casio Basic are viable options. O.O
Quote from: DJ Omnimaga on September 25, 2015, 03:15:19 PM
So far, it looks like for this contest that only TI-z80 Basocand to a lesser extent Casio Basic are viable options. O.O
PICO-8 is a viable option since it's measured in tokens.
Pww, if I was about to post my code on Twitter, I'd use Twitlonger, pastebin, github or a picture :P
You'd be surprised what you can do with nothing.
Processing would actually be an allright option.
Also shaders could do something, but you lose characters with uniforms etc. Shadertoy would be a solution to that, but still
their variable names are long :(
Quote from: Cumred_Snektron on September 26, 2015, 10:06:04 PM
Processing would actually be an allright option.
Really? I tried, but couldn't make anything good with 140 bytes. This is the beggining of something I was going to make, but gave up because it already had passed the 140 byte(17 bytes too big already) limit(also im not sure it will even work if I finish it I didn't really check if it works or if I wrote something wrong, I was only focusing on the size of the source)(also btw I know you are not supposed to release source but since im not doing anything with this I hope its ok):
int a[]={3,0,999,200};int b=200;void draw(){rect(b/3*a[1],b/2,b/2,b/2);int m=millis();if(m%1000==0){a[0]+=(int)key-2;a[1]=(int)random(4);}if(m%1000==a[2]){}}
Yeah i guess you're right :/. 140 is really not that much
maybe if it was like 0.5k it would be manageable, but at 140 bytes I think anyone would be hard pressed to make anything, even in ti basic(which I kind of know the basics of but am too lazy to actually learn the functions and stuff).
I wonder how many bytes a real( command is. I have an idea, but its more of a util for the cse :/ I need to think of a game thing.
I think 140 was choosen in reference to how limited the Twitter's 140 character limit can be.
Also like Code Golf, I think success lies a bit into which language you choose. Some specific languages might be more suitable for this particular contest, such as TI-83+ BASIC.
Quote from: DJ Omnimaga on September 28, 2015, 03:13:19 AM
I think 140 was choosen in reference to how limited the Twitter's 140 character limit can be.
Also like Code Golf, I think success lies a bit into which language you choose. Some specific languages might be more suitable for this particular contest, such as TI-83+ BASIC.
That was the point, yes.
Am I the only one who has submitted something so far?
Looks like it, there's nothing in the admin mailbox as far as I can tell.
Cool, might just win like this
Yeah this size constraint is way too difficult for me, and I don't think many other people will be able to do something:(. At least I tried.
Also a suggestion for a future mini contest: This is just like the 4x3 challenge, except just make it widescreen, so 16:9 :)
Also maybe have a contest where everyone who is participating is paired up with someone else and they have to make as good of a game as the can together.
That's good ideas.
Juju you might want to make your contest a tad easier, because this is the 3rd contest you make (including two recent Code Golf contests) that you organize that don't get entries only because of the extremely high difficulty.
I submitted an entry ( ͡° ͜ʖ ͡°). Could've done a second but that ended up a little bit malicious.
When is the contest over? I might try it out if I have enough time to finish it
Quote from: SJCubed on September 29, 2015, 12:16:29 PM
When is the contest over? I might try it out if I have enough time to finish it
Thursday, if I remember correctly
submitz0r'd! ;D
I'll be offline for a few days, so sorry if I don't participate in the discussion any further atm.
Submitted my entry!
It was actually pretty fun trying to figure out something that works under 140 bytes constraint :)
Edit: yay this was my 5th post, letting me use WalrusIRC!
Woo, we have at least 3 contestants, after all ^_^
Told ya, it don't have to be really fancy.
Awesome. I thought the contest already ended so I didn',t think there would be any more entries.
Wow this is so surprising. How did ou guys manage to cram something into 140 bytes, cause I just couldn't. Of course it is easier in ti basic but still.
Ah man! I forgot completely about this! I keep wanting to do it but I get distracted!
Quote from: semiprocoder on September 30, 2015, 08:08:13 PM
Wow this is so surprising. How did ou guys manage to cram something into 140 bytes, cause I just couldn't. Of course it is easier in ti basic but still.
The problem with Nspire lua is that you have to provide a lot of functions to be able to do anything and just the names take space already. In non event-based languages you just feed commands into it. Also TI basic has the advantage of having tokens which condense several characters into one or two bytes.
By the way I was wondering, how would you count asm written with an hex editor ? :trollface:
Asm by itself is tokenized directly into a binary.
Also, the contest came to its end (today at 12:00pm EST because of some confusion over the end time and I wasn't there at midnight to officially close the contest), thanks for participating! I'll count the results in the next few days and announce the results and another fun contest soon!
Will it be a poll we can vote on for the best program?
Oh, that would be a good idea. Looking at that after I looked at the entries and judged them.
I would like to try out other people's entries as well :) Provided I can run it >.<
Yeah hopefully no ti 84 plus cse or ce programs cause I don't have those.
How many entries were there?
Four of them. Not bad.
By the way I'm streaming stuff right now on here, please join: http://twitch.tv/juju2143
EDIT: Thanks for joining the stream, the entries are here (http://codewalr.us/contests/201509-cwick-contest-1), you can now vote in the OP for which entry you prefer and the results will be announced on CWick Contest #2!
Nice actually. I didn't have time to join the stream, unfortunately, but I'll check the entries soon. :)
The recording is on my Twitch channel and soon on YouTube.
EDIT:
https://www.youtube.com/watch?v=gDJtraNgrYU
Cool! You should put it in the first post :) When the results are out you could make a news showing them and the video, and a link to this thread, saying stay tuned for future contests. Try to space the contests out, though (eg not every week)
I'm so sorry you had to try and fix mine for half an hour xD. Works perfectly on Windows 10 cmd.exe, though.
By the way juju wouldn't it have been better to wait until voting is completed before publishing the judging results, as to not influence any voter?
Yeah, Ivoah's "interactive sine" thing is pretty cool.
@Juju: Regarding my entry: 1) I sent the corrected zip that included the music.asm and a longer version of the song well before the deadline. Why you chose not to use it is a mystery to me. 2) The emulator you use does note emulate sound properly.
By the way, is iv.bat supposed to say "Invalid for COntest. Press any key to continue", then exit?
@utz I think it's because juju judged entries based on the 140 chars or byte versions, in order to be fair for everyone. Also your entry works perfectly in Wabbitemu. It's really awesome by the way and I am surprised that it fits under 140 bytes :D.
@Ivoah entry is not bad either for the size and
@SJCubed entry as well, although there is a small delay to get used to when pressing a key.
Quote from: utz on October 06, 2015, 12:33:40 AM
Yeah, Ivoah's "interactive sine" thing is pretty cool.
Thanks :)
I got the inspiration from Mario Maker, after you end a level it shows a blue wave thing on a yellow background. I initially made it in Processing before the contest was even announced, and began to port it to PICO-8. When the contest was announced, I figured it'd be the perfect thing to enter.
Ooh I see. I couldn't find a picture of what you mean. I'll have to check some SMM videos I guess. Also I wonder if your entry could be expanded into a Tunnel game?
Quote from: utz on October 06, 2015, 12:33:40 AM
@Juju: Regarding my entry: 1) I sent the corrected zip that included the music.asm and a longer version of the song well before the deadline. Why you chose not to use it is a mystery to me. 2) The emulator you use does note emulate sound properly.
It is a mystery to me as well. I probably took the wrong one in my folders? If so, I'm sorry.
In any case, what you got is my favorite entry :P (although none of the TI entry seemed to be exactly 140 bytes? Or was the ASM entry calculated from its code without the header?)
@Juju: I'm very sorry, I just saw that I did indeed give you the wrong file the second time around. Well, that's what I get for hacking something together in two hours while trying to pack my stuff for a trip to Berlin at the same time... The "correct" version is here, if anybody is interested: http://irrlichtproject.de/transfer/tinytune.zip
@DJ Omnimaga: Yes, the rules said asm entries are calculated w/o header. So my entry (updated version) would be 139 bytes.
In general, I think we all still need to practise this size-coding stuff a bit. Here are a couple of recent size coding prods:
Sun Road by Baudsurfer - 128 byte MS-DOS intro
https://www.youtube.com/watch?v=7wiLB-jONfg
arabeske64 by HellMood - cellular automaton algorithm in 55 bytes (MS-DOS, too)
https://www.youtube.com/watch?v=0qw6hVycIxU
If you're interested in this kind of stuff, read my blog, I frequently post this kind of prods.
Heh, so it wasn't me after all. I downloaded the zip right before making my live stream, but still, the old version I tested in it was pretty impressive, if you say you added even more music without adding to the file size that's even more impressive. I will probably test the new version in a future stream, stay tuned :)
And yeah, that was kinda the point of the contest, I knew people can do pretty impressive stuff with ridiculously low file sizes, that was always something that interested me and I wanted to test you guys about that. The videos
@utz linked are exactly some examples of what I expected. People were kind of confused at first, but it seems we got some pretty good ones in the contest anyway.
What I wanted to try is make an RPG under 1000 bytes in BASIC.
http://www.elitehomepage.org/text/index.htm this sourcecode might interest you, I guess it could be used for fancy name generation, depending on which type of rpg you want... But maybe it's not suitable at all. But I'm always impressed by Elite, that's why I always try to advertise it :P
I was thinking more on the scale of the TI-81 remake of Illusiat, except with Input instead of an actual map engine. Input with no argument lets you move a cursor around the graph screen then pressing enter returns the coordinates. In other words, you have a character walking around in just 1 byte. :P
The winner(s) will be announced soon, with the announcement of another fun contest! Don't forget to vote, I give you until Friday! Do you like this rate of a week-long contest every 2 weeks or it should be longer?
You should maybe start the contest near the end of the month. IIRC that is when community things pick up again (although they kinda started now). It should not be a regular rate, because as soon as you will get busy it will be too much work, plus people might get bored of the contests.
I have an idea for a CWick contest, but it would not involve writing a program.