rules:
1)only One line of code is allowed.
2)Only ti 83/84 basic allowed! NO assembly!
3)NO subprograms.
4)program must be a standalone. no assigning variables outside of the program!
5)the program may do ANYTHING as long as it's safe for the calculator and follows the above rules.
6)the winner will be determined by a vote. the voters will be all the contestants. you may NOT vote for yourself. all contestants MUST vote.
contest to be closed when there are 17 entrants.
may the best one-liner win!
here's not cheating:
:while 1:1+1->A:A-1->A:end
here's cheating:
:While 1:
:1+1-A
because its 2 different lines of code
You might wanna also add to the rules, no previously made programs.
The Silver Phantom welcomes you
Here's one:
randInt(2,15)→B:Pause sub("XXXXXXXXXXXXXXXX",1,Ans)+"π"+sub("XXXXXXXXXXXXXXXX",1,randInt(2,15)):Input "WHERE'S THE 'π'?",A:If A=(B+1):Then:Disp "YAY! YOU WIN!":Else:Disp "NO! YOU LOSE!":End
hmmmm…
is this a legit entry or just kidding?
Clrhome:Repeat 0:Ouput(1,1,"Loading"):End
also anyone of dj omnimaga's games
No it isn't, I'm making a derpy screensaver.
The Silver Phantom welcomes you
i found a way to reset a calculator… it wiped out my programs though…
The Silver Phantom welcomes you
How'd you do that in BASIC? The only way I've managed to do something like that was:
:SetUpEditor:99→dim(L₁):While 1:SortA(L₁):End
the bunny virus. It stuck a calc in an infinite loop. But I'm pretty sure TI fixed the SortA() bug…
Wait, you're talking to me right? I think I had some impossible points and a rand-point generator in a loop
The Silver Phantom welcomes you
Wait, is resetting the calc a valid entry?
The Silver Phantom welcomes you
Actual real world example: A friend of mine created a program that randomly stored the values 1 or 0 into a list, with the mean of the list being about .4. (He was creating a random maze using 1's and 0's to declare if a block was on or off) It was a pretty long program and incorpated multiple loops and if statements. I turned the entire program into a single command, "randBin(1,.4,128)→L1".
Not anything really complicated, but kind of amusing to see me cut down his program execution by a good 5 seconds. :)
This contest is still on right?
hmm seems like it isn't, thats a shame.
I thought of something cool so i'm posting it anyway :D
:ClrHome:15→X:7→Y:2→A:2→B:1→Z:Pause "READY?":ClrHome:Disp "GO!":While Z:getKey→K:X+1(min({K=26,X≠16})-1(min({K=24,X≠1→X:Y+1(min({K=34,Y≠8})-1(min({K=25,Y≠1}→Y:ClrHome:Output(Y,X,"°":Output(A,B,"":If not(fPart(C/3:Then:A+1(min({Y>A,A≠8→A:A-1(min({Y<A,A≠1→A:B+1(min({X>B,B≠1→B:B-1(min({X<B,B≠16→B:End:If min({B=X,A=Y:0→Z::C+1→C:End:ClrHome:Output(Y,X,"":Pause "GAME OVER...":ClrHome:Stop
Fully working game in one line
You guys are so cheesy with those ':' in your code! Use an actual one-liner: make a good program that uses only one line and no ':' symbols.
Coffee + Radiohead = ^^
We get one command, total. That's basically impossible to do anything. The only reason we wouldn't just do the same command on the homescreen is if we couldn't, but those commands are all multi-line commands like If:then, while, etc. That's pointless.
PROGRAM:FLOOD
:99!
PROGRAM:ENEMIES
:randInt(0
PROGRAM:POSTITS
:Goto P
I got a million of them!
:ClrHome:Disp "HOW DOES A","MATHEMATICIAN","LOSE WEIGHT?
:Pause "
:Pause "BINOMIALS!
:Pause "(BUY NO MEALS)":ClrHome
Pretty fun game, kinda like a bullfighting game. Found a bug though; whenever the square's coordinates equal 8,16 on the home screen it freezes there. Maybe you should incorporate that and make it the goal or something
Impressive how its one line
The man shuddered as the shadow drew a glistening sword from his back. Creeping closer and closer with his pale eyes burning into the man, the shadow slowly raised his blade and before he could thrust it down, the man heard the shadow hiss something.
"The Shadow Clan's presence must be like a whisper. Always felt, but never seen…"
??Goto J??JIndpntAskprod(fMax(Boxplot xor log(Plot2(Vsinh^-1(2-Var Stats mean(?RecallPic )•DMS?•DMS6StorrGDB Plot2( -mean(cos^-1(Vertical )StoreGDB StoreGDB •DMS^2?Plot2(GPlot2(real(sinh^-1({StopDS<(•FracMenu(ScatterFor(•Fractamh^-1(.?Plot2(M
Although it requires ASM( i dont know if it's exactly assembly
Also, everywhere a "•" appears, substitute a filled in triangle pointing right
Prgm P
:prgmP // Super mem leak :)
You can also use this to make recursive programs, if you control it correctly.