Search found 17 matches

by patz2009
Tue 11 Sep, 2007 3:46 pm
Forum: Programming Help
Topic: [TI-BASIC] Finding a path
Replies: 8
Views: 5651

[TI-BASIC] Finding a path

Say I have a 8x16 matrix of the current map, where 0 is a walkable tile, 1 is a wall, and 9 is the character. Now, pretend the X is the target location... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 X 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 1 1 1 1 1 1 1 1...
by patz2009
Tue 04 Sep, 2007 2:52 am
Forum: Programming Help
Topic: [TI-BASIC] Just making sure I didn't miss anything...
Replies: 12
Views: 9869

kalan_vod, there is only one label in the code (Q) which is used to (q)uit the program. I use it to reset the users settings and clear out some vars. I don't see what is so bad about that one, as in many codes I see it written in some guides to even put labels in the start of programs. If you have a...
by patz2009
Mon 03 Sep, 2007 5:58 am
Forum: Programming Help
Topic: [TI-BASIC] Just making sure I didn't miss anything...
Replies: 12
Views: 9869

:ZStandard :84→Xmin :52→Ymin :ZInteger Implemented. :C-(Ans=25)+(Ans=34 Implemented. :Ans-102(Ans=102)-13int(Ans/13(2>abs(5-abs(5-abs(Ans-83 :Ans-13int(Ans/13(2>abs(5-abs(5-abs(Ans-83 This doesn't seem to work right...? :rowSwap([J],1+int(3rand)+3B,3B+1+int(3rand→[J] :1+int(9rand→B :1+int(9rand→C 1...
by patz2009
Mon 03 Sep, 2007 2:27 am
Forum: Programming Help
Topic: [TI-BASIC] Just making sure I didn't miss anything...
Replies: 12
Views: 9869

Well, from all the general fixes that kalan_vod gave me, I was able to shave off about 100 bytes total and a general increase in speed. Seriously, if there's a part of ode you don't understand, please ask. I have a feeling the game saving/loading code can be optimized (anything with LSUDO is a game ...
by patz2009
Sat 01 Sep, 2007 10:47 pm
Forum: Programming Help
Topic: [TI-BASIC] Just making sure I didn't miss anything...
Replies: 12
Views: 9869

Ok, thanks for your feedback! There are a couple of quirks I feel I must share with you :) First off, I usually am untrusting of what is in Ans, and try to keep my usage of it to a minimum, as I don't trust of what it's going to contain. But, I will experiment some more :) Secondly, this code was ma...
by patz2009
Fri 31 Aug, 2007 3:34 am
Forum: Programming Help
Topic: [TI-BASIC] Just making sure I didn't miss anything...
Replies: 12
Views: 9869

JoostinOnline, in this program the speed isn't as important, especially when it's waiting for a keypress. I would rather keep the byte savings and keep the keypresses how they are.

By the way, if there's code anywhere that someone doesn't understand, please ask :)
by patz2009
Thu 30 Aug, 2007 4:14 am
Forum: Programming Help
Topic: [TI-BASIC] Just making sure I didn't miss anything...
Replies: 12
Views: 9869

OK, smart-alec. What kind of optimizations do you have for this code?
by patz2009
Thu 30 Aug, 2007 2:06 am
Forum: Programming Help
Topic: [TI-BASIC] Just making sure I didn't miss anything...
Replies: 12
Views: 9869

[TI-BASIC] Just making sure I didn't miss anything...

Edit: Code updated. See: http://kvince83.tengun.net/maxboard/viewtopic.php?p=61115#61115 or scroll down :) Tell me if you can find some optomizations. As you might be able to tell, I have taken careful work in optomizing this and it weighs in at about 2160 now. In most cases for this program, size ...
by patz2009
Mon 13 Aug, 2007 1:53 am
Forum: Off Topic
Topic: how smart are you
Replies: 36
Views: 34313

Congratulations, Patrick! Your IQ score is 138 This number is based on a scientific formula that compares how many questions you answered correctly on the Classic IQ Test relative to others. Your Intellectual Type is Visual Mathematician. This means you are gifted at spotting patterns — both i...
by patz2009
Sun 12 Aug, 2007 6:44 pm
Forum: Programming Help
Topic: [TI-BASIC] Let's see your optimizing skills...
Replies: 7
Views: 6177

seq(A,A,1,A->L5 rand(A->L6 SortA(L6,L5 I really like this one, but once you get to higher numbers (ex. 700), you're bound to get a MEMORY error. cumSum(binomcdf(A,0->L5 rand(A->L6 SortA(L6,L5 Faster and slightly smaller then Goplats. NOTE: I didn't test this and may have made a small mistake. If yo...
by patz2009
Sun 12 Aug, 2007 4:53 am
Forum: Programming Help
Topic: [TI-BASIC] Let's see your optimizing skills...
Replies: 7
Views: 6177

[TI-BASIC] Let's see your optimizing skills...

I call this "Mach 3", as it's the 3rd (and fastest) version I have made of this program. Perhaps you can do better? Rewrite the thing if you see fit. Mach 3 Grouper - Patrick Connor Purpose: To generate a list of numbers ranging from 1 to the users input, in a random order. Input: A - Uppe...
by patz2009
Wed 27 Jun, 2007 9:10 pm
Forum: General TI Discussion
Topic: TI does not support ASM programming!
Replies: 46
Views: 37700

DigiTan wrote: TI's engineers get paid more than at any other Fortune 500 company.
Would you mind to cite a source?
by patz2009
Mon 04 Jun, 2007 10:23 pm
Forum: General TI Discussion
Topic: Nostalgia and ancient history
Replies: 10
Views: 12372

I can see WinAmp, DirectCD, Task Scheduler, AIM, Netscape Communicator, Volume Control. Wow.

I was never a big fan of WinAmp. But, then again, I was about 9 years old at the release of Windows 98. :-P
by patz2009
Mon 04 Jun, 2007 10:16 pm
Forum: General TI Discussion
Topic: "cheating" at exams with notes/programs
Replies: 18
Views: 23050

Semi-necro, but Brandon's Fake clear program is available and can be easily found on his website.

I really have no need for these, though. My teachers don't check the calcs. (even though we're the 40th best HS in the USA)
by patz2009
Mon 04 Jun, 2007 9:47 pm
Forum: Announce Your Projects
Topic: [GBA] TI83 Emulator
Replies: 36
Views: 53148

Yeah, but doing it for the GBA is going to be difficult. The DS has the touch screen where all the buttons are emulated on the 85, but I don't think it could be done on the GBA. If so, it's going to take too much effort and be impractical.