TI-BASIC Snake Program Part 3

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 117

  • @stickdoodles7177
    @stickdoodles7177 3 роки тому +4

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

  • @fensterputzer6525
    @fensterputzer6525 6 років тому +14

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

  • @cowten4232
    @cowten4232 5 років тому +13

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

    • @honkachonkproductions
      @honkachonkproductions 2 роки тому

      Ah, yes, he secretly implemented a cheat code or give you more points

  • @zadomspremni05
    @zadomspremni05 5 років тому +12

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

  • @killstrikegaming1317
    @killstrikegaming1317 5 років тому +8

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

  • @null3911
    @null3911 5 років тому +11

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

  • @ovswormyworm5525
    @ovswormyworm5525 5 років тому +3

    i miss this channel

  • @stickdoodles7177
    @stickdoodles7177 4 роки тому +2

    I am the 491th person to sub to u

  • @bouji9501
    @bouji9501 4 роки тому +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 4 роки тому

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

  • @sssamson1768
    @sssamson1768 2 роки тому +2

    Where is he now it’s been years?

  • @tiagosousa8355
    @tiagosousa8355 6 років тому +3

    do more games tutorials

  • @owencampbell1361
    @owencampbell1361 4 роки тому +2

    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

  • @electrobuzz.
    @electrobuzz. 4 роки тому +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 4 роки тому +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!

  • @OptimusSkiver
    @OptimusSkiver 20 днів тому

    I followed along very closely, and my implementation came out to be 498. The mind goblins must be up to shenanigans

  • @SpundoDundo
    @SpundoDundo 4 роки тому +2

    Great tutorial! Make more videos!

  • @sydneycool9
    @sydneycool9 5 років тому +2

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

  • @jook7881
    @jook7881 6 років тому +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  6 років тому +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 4 роки тому

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

  • @ChildoGODreal
    @ChildoGODreal 5 років тому +3

    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

  • @luklucky9516
    @luklucky9516 3 роки тому +1

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

  • @twistedstriker-rs6rt
    @twistedstriker-rs6rt 5 років тому +2

    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

  • @iamrewsii1318
    @iamrewsii1318 4 роки тому +2

    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

  • @NewDorkee
    @NewDorkee 5 років тому +1

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

  • @saturn6529
    @saturn6529 4 роки тому +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 3 роки тому

      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 роки тому +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

  • @InvisibleDuck795
    @InvisibleDuck795 3 місяці тому

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

  • @Ossy33
    @Ossy33 6 років тому +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 6 років тому

      nvm I solved it, missed a bracket :)

  • @kyleswehla785
    @kyleswehla785 5 років тому +4

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

    • @LoffizAnimationer
      @LoffizAnimationer 5 років тому +1

      Same

    • @raserrolf1311
      @raserrolf1311 5 років тому

      Same

    • @ChildoGODreal
      @ChildoGODreal 5 років тому

      yea same

    • @vk2631
      @vk2631 4 роки тому +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

  • @kallewalfridson6006
    @kallewalfridson6006 4 роки тому +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?

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

  • @w7s
    @w7s 3 роки тому

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

  • @batman_john10
    @batman_john10 Рік тому

    Invalid dim help please

  • @rinyas
    @rinyas 5 років тому +1

    Do new Videos

  • @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

  • @Ali_AlNaib
    @Ali_AlNaib 3 роки тому

    Make episode 17

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

  • @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?

  • @pancake891
    @pancake891 2 роки тому

    Woo!

  • @williamdeadstar3398
    @williamdeadstar3398 2 роки тому

    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?

  • @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?

  • @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

  • @shotspry9157
    @shotspry9157 6 років тому +1

    how do you save the program

    • @warriorninja51
      @warriorninja51 3 роки тому

      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

  • @oli_art4310
    @oli_art4310 3 роки тому

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

  • @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 Місяць тому

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

  • @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?

  • @leo57575
    @leo57575 2 роки тому

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

  • @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.

  • @David-eh1sy
    @David-eh1sy 3 роки тому

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

  • @jaysanXD
    @jaysanXD 4 роки тому

    It doesn't work

  • @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

  • @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.

  • @jakobskouv
    @jakobskouv 4 роки тому

    how do i send the file to my calculator

  • @airocety4391
    @airocety4391 4 роки тому

    Tank you //Well Explained!

  • @jx310
    @jx310 4 роки тому

    How do we make the snake slower

  • @zbricks5992
    @zbricks5992 6 років тому

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

  • @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

  • @clay8957
    @clay8957 5 років тому

    please come back dad

  • @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 роки тому +1

      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

  • @swedish.piper1
    @swedish.piper1 4 роки тому

    mine just sais prgmSNAKE. How do I fix it?

  • @lilduplex6023
    @lilduplex6023 6 років тому

    it does that to me to.

  • @warriorninja51
    @warriorninja51 3 роки тому

    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 роки тому +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 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

  • @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.

  • @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"

  • @haiedeced3344
    @haiedeced3344 6 років тому

    Does this work on ti-83 plus?