Recent Forum Posts
From categories:

I made a logo for the site if you want it… I just need your e-mail.

Re: Hi, I'm Krazy by krazynesskrazyness, 29 Apr 2008 22:58

Hey. My name is Krazy. I've been doing Ti Basic for not too long, but I already program QBasic, HTML, Java, and Javascript. I was wondering if I could become a member of this group, for I am a member of BlackCatSoft and TI|BD. You can email me at moc.loa|ztemohtyeoj#moc.loa|ztemohtyeoj. Thanx!

Hi, I'm Krazy by krazynesskrazyness, 22 Apr 2008 01:56
Mankala
SocksSocks 25 Mar 2008 18:11
in discussion CalCodes / Under Development » Mankala

Yep, I'm making that African stone game for the calculator. It will be entirely in Basic, as I have no way to easily do C (Any compilers for MacOS X 10.2, please contact me. TIGCC wouldn't work with my iMac).

I'll keep all updates here.

For now, all that's done is the planning process. I'm running into some problems developing the two-player mode.

Features I plan to include:

  • Single player against AI, two player on one calculator, and tournament play modes.
  • Fully graphical, except that stones are represented by numbers in the pits.
  • Released under the GPL, for the benefit of the calculator world.
  • TI-89 and Titanium compatibility.

Any comments, or features you want to see?


MtGW-Logo-2.gif

/Socks

Mankala by SocksSocks, 25 Mar 2008 18:11

And production has ceased.This is due to an unfortunate event including an idiot and a broken screen.

My new calculator (which hasn't arrived yet) is a TI-89 Titanium, and I may decide to convert this program into TI-89Ti format. (Or, rather, rewrite it for the 89Ti).


MtGW-Logo-2.gif

/Socks

Re: Graphical Life Counter (MtG) by SocksSocks, 14 Mar 2008 20:36

This game is actually done at the time of posting, but it is called LIGHTSON. It may be know as:
LIGHTS ON
LIGHTS OFF
LIGHTS OUT
etc…
The page I will create as soon as possible will conform under the soon-to-be-created program stub.
Off I go!

LIGHTSON by RandomProductionsRandomProductions, 26 Feb 2008 00:04

The only one I strongly disagree with is the one about leaving out the closing ".
The reason why is because TI-BASIC is not my first Computer Programming Language, so I've always put clarity before size. I still can't stand seeing missing " and ), even though I've been programming in TI-Basic since Summer '07. Leaving out the closing " or ) is something I am against, so I will never do that in TI-Basic code.
And thanks for being critical, I usually don't write more-than-simple programs.

See this post for what I mean.


MtGW-Logo-2.gif

/Socks

Needs Optimization by SocksSocks, 25 Feb 2008 22:34

See this post for what I mean.


MtGW-Logo-2.gif

/Socks

Needs optimization. by SocksSocks, 25 Feb 2008 22:33

Go through the optimization walkthrough found here at the TI-Basic Developer wiki. This should get you on the right track for having small, fast programs.


MtGW-Logo-2.gif

/Socks

Needs Optimization by SocksSocks, 25 Feb 2008 22:32

OK - I've gone and tried it out. A few comments:

  • Pentagon only allows for a regular pentagon My bad. There is no formula for one that isn't regular.
  • Display and interface could be improved (As with most math programs. I guess it doesn't really matter)
  • Calculations are done using the variable. For the last variable entered, use Ans ([2nd]+[(-)]). Never mind. I tested it, and inputs aren't placed in the Ans variable.
  • TI calculators can understand implicit multiplication, so L*W can be written LW and the calcualtor will understand it.
  • The Disp "" command can handle and math expression, so H((B+C)/2)->(theta):Disp "AREA:",(theta) can be written as Disp "AREA",H((B+C)/2). Also, the -> character closes parenthesis, as does ending a line.
  • Ending the program doesn't need to display "END OF PROGRAM". The standard "Done" message works just as well, although most people prefer it to end with a single " (Removes "Done" message, but cursor is placed on second line) or an Output(0,0,".
  • Close quotes are unnecessary on the end of a line (i.e. Disp "HELLO" becomes Disp "HELLO)
  • Quadrilateral setting only does rectangles/ ||grams.

Note - text with a strikethrough is unnecasary.

Sorry for the immense amount of criticism, but it will help you make your future programs better and faster.

For other people's benefit, I'm posting the original code, and then the code as I would write it.

CrlHome
Disp "----------------"
Disp "----CALCODES----"
Disp "----PRESENTS----"
Disp "----AREACALC----"
Disp "----(C) 2008----"
Disp "----CALCODES----"
Disp "----------------"
Pause 
Lbl A
ClrHome
Menu("CHOOSE SHAPE:","CIRCLE",C,"QUADRILATERAL",Q,"TRIANGLE",T,"TRAPEZOID",Z
,"PENTAGON",P,"EXIT",X) // This is one line, broken up for legibility.
Lbl C
Input "RADIUS:",R
Disp "AREA:", ∏R^2
Pause 
Lbl Q
Input "LENGTH:",L
Input "WIDTH:",W
Disp "AREA:",L*W
Pause
Goto A
Lbl T
Input "BASE:",B
Input "HEIGHT:",H
Disp "AREA:",.5B*H
Pause 
Goto A
Lbl Z
Input "BASE1:",B
Input "BASE2:",C
Input "HEIGHT:",H
H((B+C)/2)->(theta)
Disp "AREA:",(theta)
Pause 
Goto A
Lbl P
Input "ANY SIDE LENGTH:",L
Disp "AREA",L^2 *1.7
Pause
Goto A
Lbl X
Disp "END OF PROGRAM"
"----
Output(1,1,Ans+Ans+Ans+Ans
Output(2,1,Ans+"CALCODES"+Ans
Output(3,1,Ans+"PRESENTS"+Ans
Output(4,1,Ans+"AREACALC"+Ans
Output(5,1,Ans+"(C) 2008"+Ans
Output(6,1,Ans+"CALCODES"+Ans
Output(7,1,Ans+Ans+Ans+Ans+Ans+Ans+Ans+Ans
Pause 
DelVarXDelVarYRepeat X
ClrHome
Menu("CHOOSE SHAPE:","CIRCLE",C,"RECTANGLE",R,"TRIANGLE",T,"TRAPEZOID",Z,
"PENTAGON",P,"EXIT",X
Lbl C
Input "RADIUS:",R
Disp "AREA:
Pause ∏Ans^2
End
Lbl R
Input "LENGTH:",L
Input "WIDTH:",W
Disp "AREA:
Pause LW // The pause command can take a single argument (Saved 1 byte)
Goto A
Lbl T
Input "BASE:",B
Input "HEIGHT:",H
Disp "AREA:
Pause BH/2 // This doesn't gain anything over .5BH, use personal preference.
Goto A
Lbl Z
Input "BASE1:",B
Input "BASE2:",C
Input "HEIGHT:",H
Disp "AREA:
Pause H((B+C)/2
Goto A
Lbl P
Input "SIDE LENGTH:",L
Disp "AREA:
Pause 1.7L^2
End
Goto A
Lbl X
"

And there you have my version. I probably sounded a little stuck-up and mean, but the idea is that if you learn the practices now, you'll be better in the future. However, to show that the optimizations actually did something, I'm going to post both program sizes.

Original Size: 521 bytes
Optimized Size 476 bytes

Now, a 45 byte decreas in size may not seem like much, but every bit counts in a large game. Also, it needs to e worth it to the owner to keep the program on their calculator, and not replace it with a game.


MtGW-Logo-2.gif

/Socks

Re: Program: Area calculator by SocksSocks, 25 Feb 2008 00:27
Challenges Thread
SocksSocks 24 Feb 2008 17:46
in discussion Wiki / Wiki Requests » Challenges Thread

I've gone and made a page for challenges, but in order to have people do anything, there needs to be a thread for it somewhere. It doesn't fit in any of the existing boards, so I'd like a new one. Thanks!


MtGW-Logo-2.gif

/Socks

Challenges Thread by SocksSocks, 24 Feb 2008 17:46

Working on a life counter for MtG that uses the graph screen for everything. Unless I decide to go with a splitscreen aproach, which could also work.


MtGW-Logo-2.gif

/Socks

Graphical Life Counter (MtG) by SocksSocks, 24 Feb 2008 17:19
Intro
SocksSocks 24 Feb 2008 15:13
in discussion Other / Introduce Yourself » Intro

Hi, I'm Ethan, aka Socks, first member of CalCodes. I program TI-Basic, and I'm learning to program in ASM, but that could take a while. So, I look forward to adding content!


MtGW-Logo-2.gif

/Socks

Intro by SocksSocks, 24 Feb 2008 15:13

This is a trivial program currently calculating the area of circles, quadrilaterals, triangles, trapezoids, and pentagons. It is just started and I am working on it in my spare time. This program will not use any existing utilities in the CalCodes Wiki.
UPDATE 2/24/08 Program completed, click on the math tag to get to it.

any non-team member starting a thread here will have said thread deleted. That is all.

Please, do not reveal too much personal information. If you do, I will either
A) go in and replace all the too personal information with ADMIN EDIT
or, if it is too much
B) I delete the thread/post
What I consider too personal is stuff that people can use to find you, with full name at the start of the list. All I can really stand is first name and age. Anything else will be replaced with ADMIN EDIT.

Other Rules
RandomProductionsRandomProductions 24 Feb 2008 06:01
in discussion Other / Rules » Other Rules

This is what has been added so far (rule contributor's username is always added after rule):

  • No audio or video is allowed. These forums don't need them. RandomProductionsRandomProductions
  • No chat-speak. It is annoying. SocksSocks
  • Don't use !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!. Use bold text. SocksSocks
  • Do not double post. If you found an error in your post, go in and make the edit. SocksSocks
  • If you found an error in someone else's post, let that person or an admin know through a PM. Do not waste a post saying "I FOUND AN ERROR IN username's POST!" RandomProductionsRandomProductions
  • Try not to go off topic. If a thread does get off-topic, jerk it back on track with a new post.
  • Minimum of five words (idea from SocksSocks, final rule adopted from liveswifers.org)

Last update: 2/24/08

Other Rules by RandomProductionsRandomProductions, 24 Feb 2008 06:01
Basic Rules
RandomProductionsRandomProductions 24 Feb 2008 05:58
in discussion Other / Rules » Basic Rules

This is the usual, no p0rn, no adult themes, no swearing, all that common sense stuff. I will write down a complete basic rule set here, but right now, it is the basic rules.
Any rules you would like to see enforced needs to be added to the Other Rules thread.

Basic Rules by RandomProductionsRandomProductions, 24 Feb 2008 05:58
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License