Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Eniripsa96 on December 22, 2009, 09:59:00 pm
-
I've been working on a simon game for a bit now, I've added the following features:
~ Customizable Range of numbers that show up
~ Automated High Score list
~ Backward Mode (You have to enter in the number sequence backwards)
~ Entry modes of the numbers all together or seperately
I plan on adding more but for now, enjoy what I have so far. :P
Download it here: http://www.sendspace.com/file/m1ohog
-
hmm, what exactly do you mean by simon game? like Simon says?
you know you can attach the files here, so we don't have to go to those annoying download site.
I'll take a look and let you know what I think.
-
Welcome. :)
-
oh yeah :P welcome to the forum
so when I tried playing it, I like the pic you made btw, but I have a few issues, when I tried to set the range to 4 on the options menu it gave me a invalid dim error that pointed to this line
4->LOPTN(2)
which was under Lbl R4
now I also have an issue with how unoptimized this code is, so just to help you along, extra line breaks are a no no....and you can leave out the ending brackets on anything but a for loop, as well as the ending quotes. also try to stay away from labels, instead create your program flow with repeats, whiles, for, and if statements, it works much better.
from the looks of your code you are newer to TI-BASIC, so if you have any questions on how to optimize code/how to get things to work, don't hesitate to ask. Hopefully we can help you learn how to code ti-basic at par with the masters :P
also when I tried to run the game as normal it wouldn't run at all, gave me a error undefined. an easy way to fix this is to add this piece of code to the very startsetupeditor OPTN
3->dim(LOPTN
this will also fix the dim errors
here is a good reference for how to code in BASIC TI BASIC Developer (http://"http://tibasicdev.wikidot.com/home")
-
Hi, welcome here!
As for your game, I'll check it out when I have time. (Most likely tomorrow) :)
-
Hi and welcome! Eeems pretty much hit it on the head, although i personally like line breaks because they make code much more readable (for me anyway) and only cost a byte. And again, just to reiterate, Labels and gotos are not something to get used to, although they are attractive to beginners :). But overall, very nice game! I especially like the backward list feature ;D
-
mhmm interesting, I should check out
Welcome here too btw :)
you know you can attach the files here
Not until he reaches 5 posts, same for sending PMs.
-
H ok lol, my bad. Well five posts rank up fast.
-
Can it be uploaded here in a zip by Eeems or DJ? Oh, and when it's uploaded for those who use Wabbit Emulator can it please not be a group? (Note: I agree with you for uploading it as a group, it's just that I like to test files out on Wabbit first.)
:)
I can't wait to try it. ;D
-
actually with this one it's ok to extract it from the group and then put it on Wabbit..I could upload it I guess
-
well, yeah, im quite new at programming (just started a couple weeks ago) but thanks for the feedback and support.
EDIT: Oh, yeah, and Eeems, I guess i forgot the list in the file, to fix it just do this at the regular calculator screen (out of all apps/programs/whatever, dont know what to call it >_>)
{0,9,0}-LOPTN
where L=the list key
but thanks for the tip
-
Yeah I kind of figured. It's a good thing you joined omnimaga.
If you want more help, don't hesitate to ask. Also if you need help quick, I'm sure the guys who are always in the irc channel would be happy to help.
Yeah I already did that. Actually an easier way then having to send it is to make your program make it by using the code I gave you.
-
well, yeah, im quite new at programming (just started a couple weeks ago) but thanks for the feedback and support.
Cool! It's great to see new programmers already with a cool game!
As for me, it took me over a year to figure out loops and lists. :)
EDIT: Oh, yeah, and Eeems, I guess i forgot the list in the file, to fix it just do this at the regular calculator screen (out of all apps/programs/whatever, dont know what to call it >_>)
That is called the Home Screen. The only other screen you have to worry about is the graph screen. That's where you graph things and use the Draw commands.
Yeah, if you ever need any help, anyone would be glad to help you, be it on this site, or IRCing. :D
-
As for me, it took me over a year to figure out loops and lists. :)
Ditto, and even when i was first using lists, i uses Sum and Prod to extract individual elements XD
-
Ouch x.x
When I first started, I didn't knew how to use lists either (grabbing an element from them, especially) and only restricted myself to the 31 or so variables x.x (including finance vars)
-
27 + 5 ( + 2 ) = 32 or 34
Depending on if you count the last two finance vars that can only be positive integers (?) or not.
-
Yeah, around there. I myself didn't even know about finance vars for a very long time, or their advantages.
-
The two last finance app vars are also linked together it seems. If you change one, the other change too. And yeah no negative nor decimals.
There's also another variable in the CATALOG that is an italic n. I never figured out what was its use but apparently you can store shit to it.
-
That recursive n is used in sequence graphing, like the X in function graphing. That's why there is that n on the X, T, theta, n button.
-
Aaah ok, thanks for the info. Before, some people told me it had absolutely no use and they had no clue why it was there. x.x