You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

CWick Contest #1: 140 characters

b/Contests Started by Yuki, September 24, 2015, 04:39:46 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

u/Yuki September 25, 2015, 01:57:45 AM
Meh, okay, I'll give you a chance, let's count tokens.
u/semiprocoder September 25, 2015, 02:30:51 AM
Does the 140 bytes include any images that my code relies on and loads. Otherwise I will just draw rectangles or something.
u/Yuki September 25, 2015, 02:31:56 AM
If they're considered inputs (and therefore I can replace them with whatever image that can fit), no.
u/Ivoah September 25, 2015, 02:40:34 AM
Quote from: Juju on September 25, 2015, 01:57:45 AM
Meh, okay, I'll give you a chance, let's count tokens.

Woo!
u/Unicorn September 25, 2015, 02:56:38 AM
hmm... now I need an idea that can go with a cmd theme... :P

Maybe some sort of color changing program...
Last Edit: September 25, 2015, 02:59:01 AM by Unicorn
u/semiprocoder September 25, 2015, 03:53:57 AM
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.
u/Yuki September 25, 2015, 04:19:30 AM
Heh, you can always try another language, if you can.
Last Edit: September 25, 2015, 05:10:52 AM by Juju
u/Dream of Omnimaga 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
u/Ivoah September 25, 2015, 03:15:53 PM
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.
u/p4nix September 25, 2015, 04:06:50 PM
Pww, if I was about to post my code on Twitter, I'd use Twitlonger, pastebin, github or a picture :P
u/Yuki September 25, 2015, 04:10:06 PM
You'd be surprised what you can do with nothing.
u/Snektron September 26, 2015, 10:06:04 PM
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 :(
u/semiprocoder September 26, 2015, 10:21:39 PM
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]){}}
Last Edit: September 26, 2015, 10:23:11 PM by semiprocoder
u/Snektron September 26, 2015, 10:22:52 PM
Yeah i guess you're right :/. 140 is really not that much
u/semiprocoder September 26, 2015, 10:27:02 PM
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).
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal