TI-BASIC Snake Program Part 3

  Рет қаралды 13,644

Calcutron Plus_SE

Calcutron Plus_SE

Күн бұрын

Пікірлер: 117
@fensterputzer6525
@fensterputzer6525 6 жыл бұрын
Such a great Video. Well done! Now I can Play Snake in the School. You explain very good. Thank you very much.
@zadomspremni05
@zadomspremni05 5 жыл бұрын
If you want to make it say game over when you lose, make a new line after end and type, pause "Game over"
@bouji9501
@bouji9501 4 жыл бұрын
On your GitHub Gist revision what is the vertical line behind the E on the last code line? Also my snake dies when I hit the bottom of the screen. Please help
@bouji9501
@bouji9501 4 жыл бұрын
I just did the round( ins te and but my snake still dies when I hit the bottom
@killstrikegaming1317
@killstrikegaming1317 5 жыл бұрын
Hay mam where are you can you please upload another tutorial on something you explain things really well
@ovswormyworm5525
@ovswormyworm5525 5 жыл бұрын
i miss this channel
@null3911
@null3911 5 жыл бұрын
Dude? Where have you been I’ve been missing your awesome content :(
@stickdoodles7177
@stickdoodles7177 4 жыл бұрын
Yeah! Where have u been? :(
@SpundoDundo
@SpundoDundo 4 жыл бұрын
Top_Hats_Off _ I see you like coding too!
@kallewalfridson6006
@kallewalfridson6006 5 жыл бұрын
Can I reset the leaderboards in one command? Or do I have to put 0->L6(n). With all the different positions of numbers?
@electrobuzz.
@electrobuzz. 4 жыл бұрын
I think by doing fill(0, L6
@ChozoSR388
@ChozoSR388 9 ай бұрын
I know this is like really old by now, but I've been playing around with this over the past few weeks since I first watched it, and I've expanded and improved the score listing and how the scores are stored; I used a 20x13 matrix to store up to 20 games' worth of top 10 highscores and made a custom list, SCOR, to retrieve, display, and store the scores in the matrix at (θ,A), where θ is the row of the matrix that a game's scores reside, and A is the column of row θ that the data occupies. θ is assigned at the beginning of the score display section prior to accessing the matrix to populate LSCOR.
@bryanfong6070
@bryanfong6070 2 ай бұрын
By chance could you tell me what calculator you’re running this on?
@electrobuzz.
@electrobuzz. 4 жыл бұрын
Hello, amazing and super clear tutorial!! But is there a way of making a replay button? I searched for a little while but couldn't figure it out
@Kitty-hx2pr
@Kitty-hx2pr 4 жыл бұрын
It should be easy to add a Lbl to the top and add a menu to the bottom. Syntax is as follows: At the very top of the code: Lbl A At the bottom of the code: Menu("Replay?", "Yes", A, "No", B) Lbl B I'm using a TI-84 Plus CE for this so things might be a bit different, but assuming you're using the calculator in the video it should be the same.
@electrobuzz.
@electrobuzz. 4 жыл бұрын
@@Kitty-hx2pr Thank you! But I recently found out that you can restart a program simply by pressing "Enter". But I'll definitely try this out in future programs!
@Kitty-hx2pr
@Kitty-hx2pr 4 жыл бұрын
@@electrobuzz. No problem!
@InvisibleDuck795
@InvisibleDuck795 4 ай бұрын
When my snake touches the middle of the screen it dies what do I do?
@iamrewsii1318
@iamrewsii1318 4 жыл бұрын
I get a DIM Error for the ":If L>L6(5:Then" is there something I did wrong?
@austin-multicellular
@austin-multicellular 3 жыл бұрын
same
@austin-multicellular
@austin-multicellular 3 жыл бұрын
Ok, I found another comment with the solution, you have to press stat on your home screen, hit edit, scroll right to L6, and fill every value with 1, and it should work
@ludwiglauren9550
@ludwiglauren9550 2 жыл бұрын
@@austin-multicellular you saved meee thanks so much
@luklucky9516
@luklucky9516 3 жыл бұрын
Hey please make something it's like nobody else is explaining it so good like you
@twistedstriker-rs6rt
@twistedstriker-rs6rt 5 жыл бұрын
for some reason the snake keeps on growing even when i dont eat a pellet is there a fix for this?
@dizzymoosic
@dizzymoosic 5 жыл бұрын
You might have an END in the wrong place. Thats what happened to me before
@stickdoodles7177
@stickdoodles7177 4 жыл бұрын
Bro where are you? Pls post again!!!!!! :(
@raccoon15122
@raccoon15122 5 жыл бұрын
I have a problem at where you put in the food. it says error:domain and it leads me to Output(B,A,"* the space after the asterisk is where my cursor is at. can someone please help? I copied the code from the gisthub and went over it thrice, and it is still wrong!!
@cowten4232
@cowten4232 5 жыл бұрын
Now put 2nd-plus-seven-one-two
@honkachonkproductions
@honkachonkproductions 2 жыл бұрын
Ah, yes, he secretly implemented a cheat code or give you more points
@leo57575
@leo57575 2 жыл бұрын
Is there any way to add multiple apples and is there a way to make the snake move faster?
@jook7881
@jook7881 6 жыл бұрын
It works completely 100% fine. It’s just incredibly slow and delayed on my calculator. Is there anyway to fix that? I have tons of space on my calculator.
@calcutronplus_se8623
@calcutronplus_se8623 6 жыл бұрын
Unfortunately, TI-BASIC runs pretty slowly on these calculators, but there are still some things you can do to make it faster. Here's what I would try first: 1. Switch your calculator to CLASSIC Mode. If you're using a TI-84 with the most recent OS (2.55 MP), the default mode is MATHPRINT. This makes typing math look "pretty", but it slows down home screen display operations a lot. To switch it off, hit [mode] and scroll down until you see MATHPRINT and CLASSIC on the second screen. You can also change it to classic by evaluating the CLASSIC command in the catalog 2. Garbage collect. You can find the GarbageCollect command in the catalog. Hit [2nd] [0] [tan] [enter] [enter] and it should garbage collect. If this takes a few seconds, that means it has memory management to do and should result in a speed-up 3. Make sure the program is correct. Sometimes bugs either in my program or in your copy can cause major slow-downs. The calculator you're using will also impact speeds. TI-83s are on the slow end, but you should be fine with anything other than the TI-84 Color SE, which is really slow. My favorite is the TI-84 Pocket fr, but the TI-84 CE is also pretty good.
@yeety1208
@yeety1208 4 жыл бұрын
@@calcutronplus_se8623 thanks my ti-83 plus has no 'classic' mode but using garbagecollect made it double the speed it was
@alloftheabove123productions
@alloftheabove123productions Жыл бұрын
Great tutorial!! 👍 But I think there may be a bug, when we set length to 2, it should be 1, because if the length variable starts out at 2 the snake technically starts out with a length of 1 and then eats a apple immediately after so that means that it will think the snake is 1 length longer than what it is. To sum it up I believe you have to initially set length to 1. Please let me know if you agree or tell me your thoughts.
@ChozoSR388
@ChozoSR388 9 ай бұрын
I set it up to where the score (in my case, Z) is set to L - 2, as the initial length is 2, so, I took that initial length off to avoid giving the player an artificially inflated score.
@w7s
@w7s 3 жыл бұрын
It’s not working, it’s saying I have the wrong SYNTAX, how can I fix this?
@OptimusSkiver
@OptimusSkiver Ай бұрын
I followed along very closely, and my implementation came out to be 498. The mind goblins must be up to shenanigans
@NewDorkee
@NewDorkee 5 жыл бұрын
Please come back you are a legend and i want to learn from please come back
@williamdeadstar3398
@williamdeadstar3398 3 жыл бұрын
For some reason my snake is going way too fast and when i die it's says 'error'. And i think it has something to do with the 'L6'. Can somebody help me?
@SpundoDundo
@SpundoDundo 4 жыл бұрын
Great tutorial! Make more videos!
@oli_art4310
@oli_art4310 3 жыл бұрын
Can I do it on my TI-30X IIS calculator???Pls
@DumToasty
@DumToasty Жыл бұрын
Me making this for the second time to see how much I learned of TI-BASIC and how much I could optimize, I managed to cut off bytes whilst increasing the UI for both a start screen and death screen, very fun to make still :3
@saturn6529
@saturn6529 4 жыл бұрын
This was an amazing tutorial! I have one issue though; On the highscore-board it says "NEW HIGHSCORE" despite me not beating the highscore. Does anyone have an idea on how to fix this?
@warriorninja51
@warriorninja51 4 жыл бұрын
I’m having the same problem 😭
@luklucky9516
@luklucky9516 3 жыл бұрын
You need to make a new variable and it's the highscore or use the one you have for highscore then make if highscore is less than score before the disp command for new highscore if you didn't understand just message me
@EdgeLord_yearsago
@EdgeLord_yearsago 3 жыл бұрын
In the tutorial, he makes it display "NEW HIGHSCORE" if you beat any of the top 5 scores. To change it to display that only when you beat the top score, find where in the code it says " :If L>L6(5 " And change that line to say ":L>L6(5" Hope this helps
@warriorninja51
@warriorninja51 4 жыл бұрын
Please help me, it says high score even when I didn’t get a high score. Is there any way to fix this?
@EdgeLord_yearsago
@EdgeLord_yearsago 3 жыл бұрын
In the tutorial, he makes it display "NEW HIGHSCORE" if you beat any of the top 5 scores. To change it to display that only when you beat the top score, find where in the code it says ":If L>L6(5" And change that line to say ":L>L6(5" Hope this helps
@warriorninja51
@warriorninja51 3 жыл бұрын
@@EdgeLord_yearsago thanks so much your a life savior!
@EdgeLord_yearsago
@EdgeLord_yearsago 3 жыл бұрын
@@warriorninja51 No problem, I had the same issue and fixed it
@Ossy33
@Ossy33 6 жыл бұрын
Hey, cool game. I wrote it but I got a Domain error and it takes me to line :Output(T,S," " You know what could be causing it? and if so how do I solve it?
@Ossy33
@Ossy33 6 жыл бұрын
nvm I solved it, missed a bracket :)
@jamesisadude9187
@jamesisadude9187 5 жыл бұрын
It gives me a domain error every time I go though the 2nd row please help me figure out what I did wrong
@honkachonkproductions
@honkachonkproductions 2 жыл бұрын
When I die, I get a domain error that takes me to :if L>L6(5:then Does anyone know what’s wrong?
@sssamson1768
@sssamson1768 2 жыл бұрын
Where is he now it’s been years?
@pancake891
@pancake891 2 жыл бұрын
I knowww :,(
@oogabooga4756
@oogabooga4756 3 жыл бұрын
Does anyone else have a random death glitch? I've checked the code over and over again, and see no mistakes. But I still randomly die after 3 seconds. Can anyone help?
@ChildoGODreal
@ChildoGODreal 5 жыл бұрын
so It says its wrong right at the : but idk at this part If L>L6(5:Then can anyone help me out?
@gamingrat3623
@gamingrat3623 5 жыл бұрын
ive had the same problem
@AE86-
@AE86- 5 жыл бұрын
Same here
@bouji9501
@bouji9501 4 жыл бұрын
Change the 5 to a 1
@zbricks5992
@zbricks5992 6 жыл бұрын
When i lose it does not say done. What should i do because now i cannot make a high score table
@Kasrasfriedchicken
@Kasrasfriedchicken 5 жыл бұрын
Done is only for ti-84.
@stickdoodles7177
@stickdoodles7177 4 жыл бұрын
I am the 491th person to sub to u
@jamessovea4993
@jamessovea4993 5 жыл бұрын
Nice one! But I have a problem... no matter how long my snake is when I die, I always have the score 2.. Can someone help me?
@kyleswehla785
@kyleswehla785 6 жыл бұрын
At 17:26 I’m getting a dim error how do I fix this
@LoffizAnimationer
@LoffizAnimationer 5 жыл бұрын
Same
@raserrolf1311
@raserrolf1311 5 жыл бұрын
Same
@ChildoGODreal
@ChildoGODreal 5 жыл бұрын
yea same
@vk2631
@vk2631 4 жыл бұрын
Alright I know I'm a year late on this but you need to insert values into the L6 list in order to fix the problem. To access the L6 list, press "STAT" on your calculator, then "1" to select "Edit". Go all the way to right until you reach the L6 list. Then, you need to enter "1" in *at least* the first 8 values of the list so the program actually has values to read. Then, the game should work properly.
@ChildoGODreal
@ChildoGODreal 4 жыл бұрын
@@vk2631 ill try it out soon thx
@vaguewint
@vaguewint Жыл бұрын
Im getting errors on every [A] im using ti 82 stats pls help
@garlicbeatsaber
@garlicbeatsaber Жыл бұрын
you have to press 2nd and matrix to get the [A] dont hand type it
@sydneycool9
@sydneycool9 5 жыл бұрын
Can you please do more videos on stuff if you can?
@jx310
@jx310 4 жыл бұрын
How do we make the snake slower
@owencampbell1361
@owencampbell1361 4 жыл бұрын
Syntax error at the first [ in DelVar [A] {8, 16->dim([A]
@hayden4673
@hayden4673 4 жыл бұрын
Owen Campbell same for me
@Walter0409
@Walter0409 4 жыл бұрын
Replace [A] with pressing 2nd and Matrix and typing the [A] in there instead
@jakobskouv
@jakobskouv 4 жыл бұрын
how do i send the file to my calculator
@swedish.piper1
@swedish.piper1 4 жыл бұрын
mine just sais prgmSNAKE. How do I fix it?
@stickdoodles7177
@stickdoodles7177 4 жыл бұрын
thats whats its supposed to say
@EdgeLord_yearsago
@EdgeLord_yearsago 3 жыл бұрын
Press enter
@relauk4186
@relauk4186 4 жыл бұрын
When I put in the code it didn't delete the snake when I died. Pls Help
@relauk4186
@relauk4186 4 жыл бұрын
Never mind I fixed it. All you have to do is put clear home befor the display for score
@NotFamousWasHere
@NotFamousWasHere 4 жыл бұрын
can you do one similar, but pong? like make it on the home screen, not with like the pixel drawing graph area. THHAAANNKKKSS!!!
@David-eh1sy
@David-eh1sy 3 жыл бұрын
Ahh, works perfect on my ti 82 stats, took some time but damn i did something
@floatingtoa5t924
@floatingtoa5t924 6 жыл бұрын
How do I change the directions to buttons 8 4. 6 2
@natebarton2259
@natebarton2259 5 жыл бұрын
Change all getkeys that contain 24, 25, 26 and 34 to 73, 82, 84, and 93. I'm not 100% sure about this, but I think those are the keys for 2, 4, 6, and 8.
@pancake891
@pancake891 2 жыл бұрын
Woo!
@MarkO_O.J
@MarkO_O.J 6 жыл бұрын
When I start the game it immediately shows the HIGH score table and ends the game at 3 points.
@tiagosousa8355
@tiagosousa8355 6 жыл бұрын
do more games tutorials
@shotspry9157
@shotspry9157 6 жыл бұрын
how do you save the program
@warriorninja51
@warriorninja51 4 жыл бұрын
I don’t know if this will be helpful because it has been 2 years, but you can just quit the program and it will save on its own
@airocety4391
@airocety4391 4 жыл бұрын
Tank you //Well Explained!
@haiedeced3344
@haiedeced3344 6 жыл бұрын
Does this work on ti-83 plus?
@ashtonsprunger4647
@ashtonsprunger4647 6 жыл бұрын
yes
@akoshita7008
@akoshita7008 6 жыл бұрын
it works for ti 82, so It should
@batman_john10
@batman_john10 Жыл бұрын
Invalid dim help please
@butter8430
@butter8430 2 жыл бұрын
Great video! It works perfectly, although when I go to put a list in, it says “INVALID DIM.” So if someone could help me on that, that would be great.
@ludwiglauren9550
@ludwiglauren9550 2 жыл бұрын
Same thing happens to me. Did you find a solution?
@butter8430
@butter8430 2 жыл бұрын
Nope
@imweird7916
@imweird7916 2 жыл бұрын
I figured it out, you have to input values inside of the list first. So for example fill the list with 5 numbers, then continue on. Hope this helps!
@mist3834
@mist3834 Жыл бұрын
@@imweird7916 sorry but i still don’t understand. I’m not good at coding can you type or show me and example
@clay8957
@clay8957 5 жыл бұрын
please come back dad
@jaysanXD
@jaysanXD 4 жыл бұрын
It doesn't work
@Eric_Pham
@Eric_Pham 6 жыл бұрын
When I get a low score it displays New high scores
@haiedeced2969
@haiedeced2969 6 жыл бұрын
Eric Pham lol same
@bouji9501
@bouji9501 4 жыл бұрын
To fix this go to the line "If L>L6(5" and change the "5" to a "1"
@lilduplex6023
@lilduplex6023 6 жыл бұрын
it does that to me to.
@Ali_AlNaib
@Ali_AlNaib 3 жыл бұрын
Make episode 17
@rinyas
@rinyas 5 жыл бұрын
Do new Videos
TI-BASIC For Beginners E03: Simple I/O
12:08
Calcutron Plus_SE
Рет қаралды 3,9 М.
TI-BASIC For Beginners E06: Jumps
17:45
Calcutron Plus_SE
Рет қаралды 2,2 М.
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 325 М.
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2 МЛН
Fun things you can do on a Ti-84 Graphing Calculator (ft. Floof)
15:44
TheOdd2sOut
Рет қаралды 4,3 МЛН
Pong Program on the TI 83/84+ Calculator
13:50
Patrick Feltes
Рет қаралды 125 М.
TI-BASIC For Beginners E05: Logic
19:54
Calcutron Plus_SE
Рет қаралды 2,4 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 720 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 117 М.
TI-BASIC For Beginners E01: Hello World
10:00
Calcutron Plus_SE
Рет қаралды 11 М.
Stop using std::vector wrong
23:14
The Cherno
Рет қаралды 111 М.
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 247 М.
TI-BASIC For Beginners E08: Other Loops
18:48
Calcutron Plus_SE
Рет қаралды 1,4 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 562 М.
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 325 М.