Hi. Over the past six months I have been working on, modifying, optimizing, developing, refining, and updating what I consider to be the greatest program I have ever written in TI-BASIC (I began teaching myself about five years ago, so I've made plenty of programs, most of which have been lost, failed, or abandoned). This program is a snake game, & it has gone from an initial speed of about 4 fps on a TI-84+ (or about 1.5 to 2 fps on a TI-73 Explorer), to over 10 fps on a TI-84+. These are averages that I have measured numerous times. I'm unaware of the precise current speed, but of course frame rates vary depending on the calculator, battery strength, available RAM, circuit board temp., etc. I only know that the speed can (& in a good number of cases does) exceed 10 fps. I would like to thank the TI-BASIc developer community in general, as well as those members who have directly or even indirectly contributed to my code. I am putting the finishing touched on the latest version of snake, version 11.7, & I plan to release it amongst my friends & also post it on this site at some point in the near future. I am unsure of how to submit programs to this site, so if anyone has any tips I would appreciate them. The newest addition to my program is a credits page, on which the following names are listed: Myself; Xeda; Weregoose; Burr; Mr. Dino. This will most likely not be the final version of my program, but here is some general info:
My program is primarily BASIC; I implement a few ASM or hex codes to perform the following tasks:
Invert Text On; Invert Text Off; Run indicator off; Invert Screen; and removing the Done following the ending of the program. Note that these are used as subtleties and are by no means the basis of my code, nor are they "necessary", but they certainly enhance the game. The game is currently about 1400 bytes, although several hundred of these bytes are related to outputting text for title screen, credits, etc. my program utilizes 2 non assembly sub programs, one of which is a program to set up the screen for many of my programs, based on the value of variable W; the other is a program used in clean up to delete all of the real vars. Because of he subprograms, I'm going to need some advice on grouping. Keep in mind I have spent only 5 months with an 84, and have been working with an old 73 for 4 years. Thanks for reading, contributing, and hopefully my program will be appreciated by the community.