Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
GAME: Optimize this! (83+BASIC)
« previous
next »
Print
Pages:
1
2
[
3
]
4
5
6
Go Down
Author
Topic: GAME: Optimize this! (83+BASIC) (Read 11347 times)
0 Members and 4 Guests are viewing this topic.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
GAME: Optimize this! (83+BASIC)
«
Reply #30 on:
August 31, 2007, 11:35:00 am »
harrier, never forget to remove the last " in string storage so
"TTT TTT T T T T T T T TTTT T TT TTT TTTT T T T T T T T TTT T T T T= -= 2002 =- ="→Str1
would become
"TTT TTT T T T T T T T TTTT T TT TTT TTTT T T T T T T T TTT T T T T= -= 2002 =- =→Str1
And burr it is Output(, not Text(, since the program title screen if homescreen
I still didnt checked all programs but I have went through some of them alerady on first page, don't worry
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
GAME: Optimize this! (83+BASIC)
«
Reply #31 on:
September 02, 2007, 01:54:00 am »
Update. I am sorry to announce that the first BASIC optimizing contest is being cancelled (in some ways).
As some people have noticed I've did lot of works and updates on Omnimaga website in the past week. When I've started those contests, I did not realise the pain and hassle I would have to try everybody's program. Since the formatting in those piece of code is different than TI-Graph Link and SourceCoder I have to copy every single piece of code by hand on my calculator, one by one, and this is just way too much work for me alone. Sorry everyone
So what I am doing now, is that I am skipping to Contest 2 without declaring any winners for the first one, which is cancelled. However, contest 2 use the EXACT same piece of code than the first one (see the first post of this topic). You have to optimize it to make it as small as possible and make sure it still function like the original. However, you must include a 8xp file with your source code posted here. If the forum upload doesn't work for you use
http://www.savefile.com
to upload your optimized program.
Afterward, all programs will be tested directly on calc, and size of each of them will be compared, to finally declare the winner.
Sorry again for this.
Logged
Xphoenix
Guest
GAME: Optimize this! (83+BASIC)
«
Reply #32 on:
September 02, 2007, 04:21:00 am »
Two things:
1. Forum upload doesn't work for me... When I attach, and then preview OR post, it takes me the portal.
2. This is sort of a compilation of everyone's code, so... (Namely Weregoose and burr)
3.
http://www.savefile.com/files/1023805
4. I can't count right right now.
[ EDIT ]
Oh yeah...
5. Source:
QuoteBegin-"BASIC Code"+-->
QUOTE
("BASIC Code")
:ArchivePic1
:DelVar R12→dim(?A
:Ans→dim(?B
:Ans→dim(?C
:FnOff
:PlotsOff
:Normal
:Float
:Full
:GridOff
:AxesOff
:ZStandard
:ClrHome
:"?
:For(A,1,4
:For(B,1,40
:Ans+sub(" TTTT EEEE AAAA MMMM",5A-4,expr(sub("4412121221211225213145212112221221422212",B,1
:End
:Ans+sub("
Logged
Radical Pi
LV9
Veteran (Next: 1337)
Posts: 1143
Rating: +5/-2
GAME: Optimize this! (83+BASIC)
«
Reply #33 on:
September 02, 2007, 06:52:00 am »
Wouldn't combining everyone else's code be cheating?
Logged
One of these days I'll get a sig I'm really proud of.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
GAME: Optimize this! (83+BASIC)
«
Reply #34 on:
September 02, 2007, 05:18:00 pm »
not in this contest, because your goal is also to find more optimizations in the code people posts as well, so the prgm is even better. make sure to say you took some part of the code tho
Logged
Weregoose
Guest
GAME: Optimize this! (83+BASIC)
«
Reply #35 on:
September 02, 2007, 09:02:00 pm »
In that case, you can change...
c1-->
CODE
ec1If θ=15 and LA(1
?A→L1
If θ=32 and LB(1
?B→L1
If θ=49 and LC(1
?C→L1c2
ec2
Into...
c1
-->
CODE
ec1For(X,1,3
expr("?"+sub("ABC",X,1
If θ=17X-2 and Ans(1
Ans→L1
Endc2
ec2
In order to save six bytes.
Logged
Xphoenix
Guest
GAME: Optimize this! (83+BASIC)
«
Reply #36 on:
September 03, 2007, 05:19:00 am »
http://www.savefile.com/files/1026482
Logged
dinhotheone
LV6
Super Member (Next: 500)
Posts: 410
Rating: +2/-1
GAME: Optimize this! (83+BASIC)
«
Reply #37 on:
September 03, 2007, 08:44:00 am »
QuoteBegin-Weregoose+3 Sep, 2007, 3:02-->
QUOTE
(Weregoose @ 3 Sep, 2007, 3:02)
In that case, you can change...
c1-->
CODE
ec1If θ=15 and LA(1
?A→L1
If θ=32 and LB(1
?B→L1
If θ=49 and LC(1
?C→L1c2
ec2
Into...
c1
-->
CODE
ec1For(X,1,3
expr("?"+sub("ABC",X,1
If θ=17X-2 and Ans(1
Ans→L1
Endc2
ec2
In order to save six bytes.
WHOA! i didnt know you could do that! could you also declare lists like that? i must test this!
Logged
Weregoose
Guest
GAME: Optimize this! (83+BASIC)
«
Reply #38 on:
September 03, 2007, 12:10:00 pm »
The concept of a user giving a name to a list by any means other than explicitly typing it out has been beaten to death. I'm sorry to say that it cannot be done in TI-Basic.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
GAME: Optimize this! (83+BASIC)
«
Reply #39 on:
September 03, 2007, 02:04:00 pm »
you mean using input?
Logged
Speler
LV8
Addict (Next: 1000)
Posts: 857
Rating: +6/-2
GAME: Optimize this! (83+BASIC)
«
Reply #40 on:
September 03, 2007, 03:00:00 pm »
No, he means having the user input the name and for a list to then be created with that name.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
GAME: Optimize this! (83+BASIC)
«
Reply #41 on:
September 03, 2007, 03:45:00 pm »
yeah thats what i meant, i wish it was possible tho, too bad it isn't
Logged
Xphoenix
Guest
GAME: Optimize this! (83+BASIC)
«
Reply #42 on:
September 06, 2007, 11:37:00 am »
Sooooo. . . Contest over?
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
GAME: Optimize this! (83+BASIC)
«
Reply #43 on:
September 06, 2007, 05:33:00 pm »
well if anyone still have new programs i can accept them, but for now you're kinda winner by default since you're the only one to meet the (new) requirements
(both source posted and a 8xp file)
thanks to everyone for participating though, I'll try to prepare more when i do the next contest. It may be another prgm from this game, but I'm not sure yet.
Logged
Radical Pi
LV9
Veteran (Next: 1337)
Posts: 1143
Rating: +5/-2
GAME: Optimize this! (83+BASIC)
«
Reply #44 on:
September 06, 2007, 10:57:00 pm »
I provided a .8xp... just to the wrong upload site :icebeam:
Any thoughts on what the next basic optimization project could be?
Logged
One of these days I'll get a sig I'm really proud of.
Print
Pages:
1
2
[
3
]
4
5
6
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
GAME: Optimize this! (83+BASIC)