TI-BASIC Snake Program Part 3

Sdílet
Vložit
  • čas přidán 22. 08. 2024

Komentáře • 116

  • @fensterputzer6525
    @fensterputzer6525 Před 6 lety +14

    Such a great Video. Well done! Now I can Play Snake in the School. You explain very good. Thank you very much.

  • @zadomspremni05
    @zadomspremni05 Před 5 lety +12

    If you want to make it say game over when you lose, make a new line after end and type, pause "Game over"

  • @ovswormyworm5525
    @ovswormyworm5525 Před 4 lety +3

    i miss this channel

  • @stickdoodles7177
    @stickdoodles7177 Před 3 lety +4

    Bro where are you? Pls post again!!!!!! :(

  • @killstrikegaming1317
    @killstrikegaming1317 Před 5 lety +8

    Hay mam where are you can you please upload another tutorial on something you explain things really well

  • @cowten4232
    @cowten4232 Před 4 lety +13

    Now put 2nd-plus-seven-one-two

  • @null3911
    @null3911 Před 5 lety +11

    Dude? Where have you been I’ve been missing your awesome content :(

  • @ChozoSR388
    @ChozoSR388 Před 7 měsíci

    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 Před 11 dny

      By chance could you tell me what calculator you’re running this on?

  • @luklucky9516
    @luklucky9516 Před 3 lety +1

    Hey please make something it's like nobody else is explaining it so good like you

  • @DumToasty
    @DumToasty Před rokem

    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

  • @NewDorkee
    @NewDorkee Před 4 lety +1

    Please come back you are a legend and i want to learn from please come back

  • @SpundoDundo
    @SpundoDundo Před 4 lety +2

    Great tutorial! Make more videos!

  • @bouji9501
    @bouji9501 Před 4 lety +3

    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 Před 4 lety

      I just did the round( ins te and but my snake still dies when I hit the bottom

  • @sssamson1768
    @sssamson1768 Před 2 lety +2

    Where is he now it’s been years?

  • @tiagosousa8355
    @tiagosousa8355 Před 5 lety +3

    do more games tutorials

  • @owencampbell1361
    @owencampbell1361 Před 4 lety +2

    Syntax error at the first [ in DelVar [A] {8, 16->dim([A]

    • @hayden4673
      @hayden4673 Před 4 lety

      Owen Campbell same for me

    • @Walter0409
      @Walter0409 Před 4 lety

      Replace [A] with pressing 2nd and Matrix and typing the [A] in there instead

  • @alloftheabove123productions
    @alloftheabove123productions Před 11 měsíci

    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 Před 7 měsíci

      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.

  • @electrobuzz.
    @electrobuzz. Před 4 lety +3

    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 Před 4 lety +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. Před 4 lety

      @@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 Před 4 lety

      @@electrobuzz. No problem!

  • @twistedstriker-rs6rt
    @twistedstriker-rs6rt Před 4 lety +2

    for some reason the snake keeps on growing even when i dont eat a pellet
    is there a fix for this?

    • @dizzymoosic
      @dizzymoosic Před 4 lety

      You might have an END in the wrong place. Thats what happened to me before

  • @sydneycool9
    @sydneycool9 Před 5 lety +2

    Can you please do more videos on stuff if you can?

  • @pancake891
    @pancake891 Před rokem

    Woo!

  • @InvisibleDuck795
    @InvisibleDuck795 Před 2 měsíci

    When my snake touches the middle of the screen it dies what do I do?

  • @iamrewsii1318
    @iamrewsii1318 Před 4 lety +2

    I get a DIM Error for the ":If L>L6(5:Then" is there something I did wrong?

    • @austin-multicellular
      @austin-multicellular Před 3 lety

      same

    • @austin-multicellular
      @austin-multicellular Před 3 lety

      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 Před 2 lety

      @@austin-multicellular you saved meee thanks so much

  • @stickdoodles7177
    @stickdoodles7177 Před 4 lety +2

    I am the 491th person to sub to u

  • @jook7881
    @jook7881 Před 6 lety +3

    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  Před 6 lety +5

      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 Před 4 lety

      @@calcutronplus_se8623 thanks my ti-83 plus has no 'classic' mode but using garbagecollect made it double the speed it was

  • @David-eh1sy
    @David-eh1sy Před 3 lety

    Ahh, works perfect on my ti 82 stats, took some time but damn i did something

  • @kallewalfridson6006
    @kallewalfridson6006 Před 4 lety +1

    Can I reset the leaderboards in one command? Or do I have to put 0->L6(n). With all the different positions of numbers?

  • @saturn6529
    @saturn6529 Před 3 lety +2

    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 Před 3 lety

      I’m having the same problem 😭

    • @luklucky9516
      @luklucky9516 Před 3 lety

      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 Před 3 lety +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

  • @airocety4391
    @airocety4391 Před 4 lety

    Tank you //Well Explained!

  • @ChildoGODreal
    @ChildoGODreal Před 4 lety +3

    so It says its wrong right at the : but idk at this part
    If L>L6(5:Then
    can anyone help me out?

  • @williamdeadstar3398
    @williamdeadstar3398 Před 2 lety

    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?

  • @kyleswehla785
    @kyleswehla785 Před 5 lety +4

    At 17:26 I’m getting a dim error how do I fix this

    • @LoffizAnimationer
      @LoffizAnimationer Před 5 lety +1

      Same

    • @raserrolf1311
      @raserrolf1311 Před 5 lety

      Same

    • @ChildoGODreal
      @ChildoGODreal Před 4 lety

      yea same

    • @vk2631
      @vk2631 Před 4 lety +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 Před 4 lety

      @@vk2631 ill try it out soon thx

  • @leo57575
    @leo57575 Před 2 lety

    Is there any way to add multiple apples and is there a way to make the snake move faster?

  • @oogabooga4756
    @oogabooga4756 Před 3 lety

    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?

  • @raccoon15122
    @raccoon15122 Před 5 lety

    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!!

  • @w7s
    @w7s Před 3 lety

    It’s not working, it’s saying I have the wrong SYNTAX, how can I fix this?

  • @honkachonkproductions
    @honkachonkproductions Před 2 lety

    When I die, I get a domain error that takes me to :if L>L6(5:then Does anyone know what’s wrong?

  • @Ossy33
    @Ossy33 Před 6 lety +1

    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 Před 6 lety

      nvm I solved it, missed a bracket :)

  • @jamesisadude9187
    @jamesisadude9187 Před 4 lety

    It gives me a domain error every time I go though the 2nd row please help me figure out what I did wrong

  • @MarkO_O.J
    @MarkO_O.J Před 5 lety

    When I start the game it immediately shows the HIGH score table and ends the game at 3 points.

  • @jamessovea4993
    @jamessovea4993 Před 5 lety

    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?

  • @clay8957
    @clay8957 Před 4 lety

    please come back dad

  • @NotFamousWasHere
    @NotFamousWasHere Před 3 lety

    can you do one similar, but pong? like make it on the home screen, not with like the pixel drawing graph area. THHAAANNKKKSS!!!

  • @vaguewint
    @vaguewint Před rokem

    Im getting errors on every [A] im using ti 82 stats pls help

    • @garlicbeatsaber
      @garlicbeatsaber Před rokem

      you have to press 2nd and matrix to get the [A] dont hand type it

  • @Ali_AlNaib
    @Ali_AlNaib Před 2 lety

    Make episode 17

  • @jx310
    @jx310 Před 4 lety

    How do we make the snake slower

  • @oli_art4310
    @oli_art4310 Před 2 lety

    Can I do it on my TI-30X IIS calculator???Pls

  • @zbricks5992
    @zbricks5992 Před 5 lety

    When i lose it does not say done. What should i do because now i cannot make a high score table

  • @rinyas
    @rinyas Před 5 lety +1

    Do new Videos

  • @batman_john10
    @batman_john10 Před 11 měsíci

    Invalid dim help please

  • @warriorninja51
    @warriorninja51 Před 3 lety

    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 Před 3 lety +1

      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 Před 3 lety

      @@EdgeLord_yearsago thanks so much your a life savior!

    • @EdgeLord_yearsago
      @EdgeLord_yearsago Před 3 lety

      @@warriorninja51 No problem, I had the same issue and fixed it

  • @floatingtoa5t924
    @floatingtoa5t924 Před 5 lety

    How do I change the directions to buttons
    8
    4. 6
    2

    • @natebarton2259
      @natebarton2259 Před 5 lety

      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.

  • @lilduplex6023
    @lilduplex6023 Před 5 lety

    it does that to me to.

  • @shotspry9157
    @shotspry9157 Před 5 lety +1

    how do you save the program

    • @warriorninja51
      @warriorninja51 Před 3 lety

      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

  • @relauk4186
    @relauk4186 Před 4 lety

    When I put in the code it didn't delete the snake when I died. Pls Help

    • @relauk4186
      @relauk4186 Před 4 lety

      Never mind I fixed it. All you have to do is put clear home befor the display for score

  • @jakobskouv
    @jakobskouv Před 4 lety

    how do i send the file to my calculator

  • @jaysanXD
    @jaysanXD Před 4 lety

    It doesn't work

  • @didrikpettersson3903
    @didrikpettersson3903 Před 4 lety

    mine just sais prgmSNAKE. How do I fix it?

  • @Eric_Pham
    @Eric_Pham Před 6 lety

    When I get a low score it displays New high scores

    • @haiedeced2969
      @haiedeced2969 Před 6 lety

      Eric Pham lol same

    • @bouji9501
      @bouji9501 Před 4 lety

      To fix this go to the line "If L>L6(5" and change the "5" to a "1"

  • @butter8430
    @butter8430 Před 2 lety

    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 Před 2 lety +1

      Same thing happens to me. Did you find a solution?

    • @butter8430
      @butter8430 Před rokem

      Nope

    • @imweird7916
      @imweird7916 Před rokem

      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 Před rokem

      @@imweird7916 sorry but i still don’t understand. I’m not good at coding can you type or show me and example

  • @haiedeced3344
    @haiedeced3344 Před 6 lety

    Does this work on ti-83 plus?