Pong Program on the TI 83/84+ Calculator

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • Check out my new Kotlin tutorial series: • Video We make pong on a calculator. Please contact me with any questions/suggestions.

Комментарии • 514

  • @CrimeMinister1
    @CrimeMinister1 9 лет назад +58

    Thanks now I can wow my algebra classmates and potentially procrastinate in perfect secrecy

    • @tunhivo9753
      @tunhivo9753 9 лет назад +2

      this is what i did too XD

  • @dosaisrulingdaworld
    @dosaisrulingdaworld 10 лет назад +21

    Hey, great game. One quick question, how would you make the ball larger?

  • @poly1587
    @poly1587 9 лет назад +28

    bro can u just write out the code so that I can check the coding???

  • @milandoodeman3104
    @milandoodeman3104 9 лет назад +31

    Is there a way to make the paddles/ball go faster?

    • @trstn262
      @trstn262 6 лет назад

      Thats my problem as well

    • @palemacaroon4836
      @palemacaroon4836 5 лет назад +15

      Probably not, we are talking about a cpu that’s the equivalent to the power of a home computer from the mid 80s

    • @palemacaroon4836
      @palemacaroon4836 5 лет назад +10

      And also it’s because of the operating system, basic is an interpreted language and thus requires a ton of horsepower to run quickly

    • @mrmine8187
      @mrmine8187 3 года назад

      @@palemacaroon4836 Couldn't you make the paddles move by 2 pixels though? it wouldn't be as smooth but it would work

  • @my_broken_face
    @my_broken_face 5 лет назад +2

    Thanks, I was looking for videos so I could program a game into my friend's calculator and this was GREAT. I know I was a tad late to the whole calculator programming thing but, THANK YOU!

  • @TechRedstone
    @TechRedstone 9 лет назад +12

    on my ti84 plus ce:
    > game is tiny
    > ball is slow
    > ball leaves a trail behind it
    > the screen is filled in with lines

    • @BigDogHaver
      @BigDogHaver 9 лет назад

      +TechRedstone Mine does that too :(

    • @Moon-hk2bk
      @Moon-hk2bk 9 лет назад

      The title says ti83 and 84

    • @BigDogHaver
      @BigDogHaver 9 лет назад

      Moon Knight The TI84 and TI84 plus are different than the TI84 plus CE. That is because the TI84 plus CE has a entirely new screen that supports color.

    • @WalnutSpice
      @WalnutSpice 9 лет назад +4

      +TechRedstone Because these are calculators. They only have a few KB for video. The screen was never meant for gaming. The ball leaving a trail is called "Ghosting" The GameBoy and GameBoy Pocket did it as well.
      Your problem isn't anything you did wrong, or bad code. It's very limited hardware. These calculators run hardware thats been around since the late 70s.

    • @vincenztellier4797
      @vincenztellier4797 7 лет назад

      What means Error:Syntax?

  • @chrislockaby9939
    @chrislockaby9939 10 лет назад +19

    Okay, so when I start it up it all works, except the ball doesn't move and if I click a button (+ for example) it exits the screen and puts + like I want to solve something.

  • @boboonnoo2357
    @boboonnoo2357 6 лет назад +1

    Everything is good, except the fact that the ball moves up and down, not side to side or diagonally. so really, it's kind of useless, but fun to watch!
    EDIT: redid the entire program, works just fine!

  • @insertjokehere212
    @insertjokehere212 7 лет назад +2

    lol did all of this thinking it was pacman

  • @bobgreat8139
    @bobgreat8139 4 года назад +2

    How do you move the paddles up and down?

  • @ianmiddelburg7032
    @ianmiddelburg7032 8 лет назад +1

    Great video. Works great!

  • @thelastcojiro
    @thelastcojiro 11 лет назад +4

    how would you change the movement speed of the paddles

  • @mahoneys64
    @mahoneys64 7 лет назад

    I was able to change a few numbers around and make it fit more on a 84 plus CE but the ball trail still there due to CE. you do very well in explaining the what and the why so thank you!

  • @bobjenkins4870
    @bobjenkins4870 10 лет назад +1

    Fixed my problem xD forgot a line of code… works great thanks!!!

  • @andresvalarezo1800
    @andresvalarezo1800 8 лет назад +1

    tengo una pregunta, pero no es sobre la aplicacion del video. yo creo aplicaciones para mi universidad, pero cuando las respuestas son largas, o necesito que salgan varias respuestas, no puedo ver todo en la pantalla. Esta es mi pregunta... talvez hay algun comando para hacer que pueda desplazar las respuestas para poder verlas?. Agradeceria cualquier ayuda que me brinde. (psdta esto es un texto en español que esta traducido en google).........
    I have a question , but not on the application of video. I think my college applications , but when the answers are long, or need to leave several answers , I can not see everything on the screen . This is my question ... maybe there is some command to make can move the answers to see them ?. I appreciate any help you give me . ( Psdta this is a text in Spanish that this translated into google )

  • @ApertureLabs
    @ApertureLabs 7 лет назад +1

    When I get error syntax jesus the goto command is SO helpful. I can fix mistakes on my own.
    And that's the day my calculator was stuck in an endless loop.

  • @TimothyDG
    @TimothyDG 5 лет назад +3

    It works but every time The paddle goes off the screen it crashes and it slow

  • @YamchaSama-Z
    @YamchaSama-Z 4 года назад +1

    Here's the code for a less sophisticated but faster Pong game:
    :3→A:4→X
    :1→S:1→T
    :randInt(1,8→Y
    :Repeat K=45 or X=1 and A≠Y
    :ClrHome
    :Output(A,1,"[
    :Output(Y,X,"O
    :getKey→K
    :max(1,min(8,A+(Ans=34)-(Ans=25→A
    :T(Y>1 and Y1 and X

    • @wev7196
      @wev7196 4 года назад

      hmmm
      I tried the one shown in the video and it didn't work. are you sure you can get pong in that many lines of code?

  • @DUZcreator
    @DUZcreator 10 лет назад +1

    this is good but for the people who aren't getting it right it might help to put a list of the code so they don't have to re watch the video but overall your instructions were great

  • @MrJoshie333_
    @MrJoshie333_ 5 лет назад +1

    It works for me, but it is really small.
    What window should I set my x and y to?

  • @Mark-xk3hh
    @Mark-xk3hh 8 лет назад

    This does work on the ti83 but there is some things to know...
    It is much slower than it is shown here (possibly because he might be using a newer calculator) and the black background never fills the entire screen.
    Also if the paddles go offscreen you get an error. So yeah...I guess if you like super slow pong you can play this.

  • @nickgerhold3176
    @nickgerhold3176 7 лет назад +1

    i got everything to work finaly but both the ball and the paddle leave trails so i cant tell where they are

  • @JakobRosenstein
    @JakobRosenstein 9 лет назад

    You can use 2nd and than Format (ZOOM) To access a whole bunch of stuff including AxesOn/Off

  • @nathanconkling2246
    @nathanconkling2246 5 лет назад +2

    Whenever my paddle goes to high or to low then I get a domain error

    • @evanmcfarlane6427
      @evanmcfarlane6427 4 года назад

      Me too it's weird tho I did exactly what he said I even went back in the video to check

  • @zappy595
    @zappy595 8 лет назад

    Works like a snail on my TI-83+, gonna try to make it black-on-white instead.

  • @wev7196
    @wev7196 4 года назад +1

    cool video but when I start it up the screen freezes just when the pong ball is about to hit the left paddle. any tips?

  • @magikarpusedsplash8881
    @magikarpusedsplash8881 7 лет назад +1

    I've been optimizing the game for the last few math classes instead of studying logarithms and I've run into a problem: I can't figure out how to increase paddle speed.
    I have a hunch it's in the functions immediately after the getKey->G, but I'm not completely sure.
    Help please?

    • @psun256
      @psun256 6 лет назад

      Magikarp Used Splash the span of code after the get key controls the paddle. Maybe put another +(g=91) after the first one?

  • @SuperNetworkJoe
    @SuperNetworkJoe 7 лет назад

    When I try to play, it plays correctly, slower than I would like, but when I try to make the left paddle go to the top of the screen, I get
    ERR:DOMAIN
    :Pxl-On(A+10,0)
    Same issue for the right paddle
    :Pxl-On(B-1,94

  • @Parkman696
    @Parkman696 9 лет назад +6

    Any way i can make the ball move faster?

    • @Harmoniou-s
      @Harmoniou-s 8 лет назад +1

      no

    • @notgdengineanymore6670
      @notgdengineanymore6670 7 лет назад +1

      Parker Grootenhuis if you Change the F Var like before it was " 1>F " Change it to Like " 3>F "

    • @skrillexskillz5678
      @skrillexskillz5678 5 лет назад

      NotGDEngineAnymore where at and what about paddle

  • @vinniebasile9404
    @vinniebasile9404 8 лет назад

    Suggestions:
    1. Put a pause screen on it
    2. Make the ball and paddles move faster

  • @iamp3e
    @iamp3e 10 лет назад

    the right paddle works fine but when i use LN or STO-> to move the left one, the screen goes white and stops working. when i do the goto it takes me to
    :PxL-On(A-1,0)
    please help me.

  • @bobbyryan2895
    @bobbyryan2895 8 лет назад

    the right paddle moves up but when I try to move it downward it just gets longer how can I fix this please

  • @chrisnewton6628
    @chrisnewton6628 10 лет назад

    This may be late but I was wondering just how to make the ball bigger because it's hard to see

  • @garciatm5206
    @garciatm5206 8 лет назад

    so everything works fine except the right side doesnt bounce the ball back

  • @alexandergarfin422
    @alexandergarfin422 6 лет назад

    the ball goes right though the paddle and gives the other team a point

    • @psun256
      @psun256 6 лет назад

      check all the if statements and the "a-(g=81..." stuff

  • @Zimthegamer2000
    @Zimthegamer2000 8 лет назад +2

    for some stupid reason it plays in the top left of my screen... and the ball leaves a line behind it

  • @jannickpup4375
    @jannickpup4375 6 лет назад +1

    You make really good videos! Can you please make the same with super mario or minecraft? I havent got a computer. I will be lucky if you make more videos this Art

  • @Darthcody4501
    @Darthcody4501 8 лет назад

    Nice program. Thanks for sharing!

  • @nikoanagnostou7891
    @nikoanagnostou7891 9 лет назад +24

    It is great but..........
    Whenever I try to play it only takes up a forth of me screen
    Help

    • @PatrickFeltes
      @PatrickFeltes  9 лет назад +2

      Because you have a TI-84 C

    • @AnnuityTable
      @AnnuityTable 9 лет назад

      pj6444 darn i have one to, so all i get is errors. But thank you this was a great tut.

    • @Mrburnxminecraft
      @Mrburnxminecraft 9 лет назад

      pj6444 how do you stre the 0

    • @frodobaggins1492
      @frodobaggins1492 8 лет назад

      +Mrburnxminecraft,lego,and more If you meant "store the 0", there is a button directly above the ON button. Press that and the arrow will appear in the program

    • @benstro5861
      @benstro5861 8 лет назад

      +pj6444 Whenever I hit the ball, it doesn't give the other person a chance to return the hit and it just gives the other person the point

  • @collinst.pierre9106
    @collinst.pierre9106 8 лет назад +2

    says archived at For(P,0,9)

  • @poporp
    @poporp 10 лет назад

    i entered everything correctly but when i start the program its says err:domain
    and when i press goto it take me to the line that says pxl-off(b+p,94
    i tried it both with a closed and open parenthesis. please help

  • @bobjenkins4870
    @bobjenkins4870 10 лет назад

    So now everything works but moving the right paddle up.....

  • @aydenrinaldi8339
    @aydenrinaldi8339 7 лет назад

    Is there a way to make it faster like the ball because I just entered snake on to my calculator and the snake moves fast

  • @SiggyTundra
    @SiggyTundra 10 лет назад +5

    Tetris PLZ

  • @sarge51297
    @sarge51297 10 лет назад +2

    When I get to the bottom right side I get error domain brings me to the code set
    Px1-On(A-1-,0)
    Px1-On(A+10,0)
    Px1-On(B-1,94
    Px1-On(B+10,94
    Px1-On(X,Y)
    Please if you see something wrong tell me

    • @wafflegamer9939
      @wafflegamer9939 7 лет назад

      sarge51297 I think I might be a bit late, but try closing off the parentheses after the 94s and also make sure all of it is actually a new line and not a continuation

  • @PatrickFeltes
    @PatrickFeltes  11 лет назад

    That means that you're drawing a pixel off the screen somewhere. It's probably on of the paddles or the ball. Make sure you have the EXACT code that I have and it should be fine.

  • @elliotttriebenbacher6831
    @elliotttriebenbacher6831 10 лет назад +1

    Hi there, when I try to use the LN and STO keys as well as the + and - keys, it immediately exits pong and writes ln, sto, =, or - in my normal calculator. Solutions?
    thanks

    • @saturnseven
      @saturnseven 5 лет назад

      Elliott Triebenbacher idk sAme with me

  • @BobbyT.
    @BobbyT. 8 лет назад +1

    I messed up something. When I do it, mine loads the game up, but the ball doesn't start moving, and when I click any of the paddles (on either side, it doesn't matter), it exits the program and goes to the regular calculator. Any help?

    • @magikarpusedsplash8881
      @magikarpusedsplash8881 7 лет назад

      Bobby T. Does your code match the video's code exactly?
      You should check the lines immediately after getKey->G, as they are responsible for key presses and paddle movement.

    • @BobbyT.
      @BobbyT. 7 лет назад +1

      Magikarp Used Splash it does now, I just ended up debugging it myself. Everything is fine now. Very fun, now that it's working. My friends definitely enjoy it.

    • @psun256
      @psun256 6 лет назад

      where was the code bug?

    • @jackthesnakk6482
      @jackthesnakk6482 5 лет назад

      Bobby T. how did you debug it???

  • @andl8521
    @andl8521 8 лет назад

    ur awesome dude keep up the good work and could u plz make more games for ti 84 like falldown or a maze or something thx

  • @TheWaynelds
    @TheWaynelds 10 лет назад

    I like my 86 better since you can name your variables and labels with more than one letter/number. Also, you can store as many pics, matrices, strings ect as you need and not have to worry about other programs over writing them. But the 84+ can do colors on the graphscreen?? Hmm tough call here. Well I hope they come out with an 86 plus.

  • @PatrickFeltes
    @PatrickFeltes  11 лет назад +2

    Did you get an Error?

  • @celloprof
    @celloprof 7 лет назад

    Where on earth did you find that code OR did you make it yourself? I just wonder what it says on the programs of those games that get downloaded straight to the ti-xx calculators. hmmm.

  • @Anon-ll1vg
    @Anon-ll1vg 10 лет назад

    My problem is when I enter the program its loads then goes to error syntax and when i click goto its sends me to then.

  • @shivanksahoo4224
    @shivanksahoo4224 4 года назад

    Help whenever the ball touches the walls it says ERR:DOMAIN and when I press Goto it takes me to “Pxl-Off(Y,X)”

  • @phongkuBisous
    @phongkuBisous 10 лет назад

    The ball isn't moving on mine! Thank's for the video btw; this is the first programming i've ever done.

  • @JAD-dz3kt
    @JAD-dz3kt 6 лет назад

    Worked for me I have a ti-83 (not a plus).

  • @PatrickFeltes
    @PatrickFeltes  11 лет назад

    The problem is that your calculators screen has many more pixels than mine does. Yours is 320x240 I believe, while mine is 94x62. So what you would need to do is change everything that would be 94 or 62 to your given screen size.
    Also, with the blue behind the ball, you're probably not deleting the pixel behind the ball after it moves.
    What you could to is save the x and y in a temp variable.
    Sto is for the arrow key.
    X sto J
    Y sto K
    After the ball moves:
    pxl-Off(K,J)

  • @TheSora1326
    @TheSora1326 10 лет назад +1

    I can't control the panels. Whenever I use the ln or store keys, it goes back to the home screen.

  • @kevinphan9029
    @kevinphan9029 6 лет назад

    the game won't start for me, i went through the thing twice and everything is right but the ball just stays there

  • @DrawnCanary
    @DrawnCanary 6 лет назад

    Where is the arrow icon at the start of the video?

  • @masonpugh1481
    @masonpugh1481 9 лет назад +2

    mine goes slowly

  • @palemacaroon4836
    @palemacaroon4836 5 лет назад

    I have a ti83 plus running the 1.10 OS and on mine the game is broken. There is no ball and the paddles don’t move

  • @afrank4256
    @afrank4256 9 лет назад

    The game doesn't work on my calculator. I have a TI-84 + CE. Does that have anything to do with it? If so, what can I do to fix it?

  • @Plrealy
    @Plrealy 8 лет назад

    I have everything coded exactly like you, but as soon as the program starts to run it says ERR: DOMAIN and when I click Goto it takes me to Pxl-On(B-1,94

  • @jan_schaefer
    @jan_schaefer 6 лет назад

    Is it possible to make the ball bigger? I have the TI-82 Stats, and you can't even see the ball because it's so tiny...

  • @adamcole529
    @adamcole529 11 лет назад

    the program only appears in the top left 1/4 of the screen, and wherever the ball moves, a blue line is left behind it. therefore when playing, at some point most of the screen is blue.
    P.S. i am using a TI-84 C silver Edition

  • @braeg3832
    @braeg3832 7 лет назад

    Just watch in like a year we will have a calculator in Minecraft that you can play Minecraft on, all inside a calculator

  • @schlagag8741
    @schlagag8741 8 лет назад

    i have a TI-83+ and I dont know how I can make a negative

  • @jacejeffers370
    @jacejeffers370 10 лет назад

    typed in the exact dimensions and says the dimensions are invalid

  • @gabejanssen4826
    @gabejanssen4826 8 лет назад +1

    when i press the control bottuns in the game it enters it as a text

  • @harrison7855
    @harrison7855 8 лет назад

    It says Syntax error and when i goto it says -2->E (above shade (0,62) please help

  • @iwritestupidcomments3660
    @iwritestupidcomments3660 9 лет назад

    The ball keeps going through the right panel

  • @Jrollzz
    @Jrollzz 8 лет назад

    Is there anyway to make it work better on a Ti-84 C? My game only fills up a quarter of the screen and the paddles move too slowly

  • @awtrey516
    @awtrey516 7 лет назад

    What are the controls on a regular ti-83 it works on my plus but not friends regular 83

  • @fricktastic8294
    @fricktastic8294 8 лет назад +1

    Help Everytime I hit the left paddle it says error:domain and when I press goto it leads me to Px1-Off(B+P,94

    • @andrewslattery1364
      @andrewslattery1364 8 лет назад

      Put an ) on the end aslo do you know how to make a new line of text even though there is numbers under it like this
      :0->A
      :
      :0->B turn this into this
      :0->A
      :
      :
      :0->B without delteing the bottom text

    • @TheWaynelds
      @TheWaynelds 4 года назад

      @@andrewslattery1364 I don’t understand what you’re asking. What do you mean by “Making a new line of text if it has numbers under it”? Your example doesn’t make sense either.

  • @WhispTheFox
    @WhispTheFox 9 лет назад +2

    whenever I try to make a program I seem to get errors. I know it uses LUA, but I can't seem to figure out how LUA works on the calculator. I try
    a = sys.input=("Enter Data: ")
    if a == "thistext" then
    print("Hello World")
    it gives me a syntax error...can someone explain to me how to rewrite this for the Ti-84 calculator's API?

    • @picturethis8611
      @picturethis8611 8 лет назад +2

      No most TI calculators use TI basic. The command is dis or Disp or something like that

    • @WhispTheFox
      @WhispTheFox 8 лет назад

      TI Basic is a LUA API

    • @wolftalk594
      @wolftalk594 8 лет назад +1

      +Darkwing Claw no its not. very differnt

    • @WhispTheFox
      @WhispTheFox 8 лет назад

      eh, I'm bad at calculator programming

    • @wolftalk594
      @wolftalk594 8 лет назад +1

      Darkwing Claw don't worry little Charlie, I'm sure you'll get it someday!

  • @MrMrCraftmine
    @MrMrCraftmine 9 лет назад +1

    Could you please give me a link to pastebin or something like this with the code?

    • @wolftalk594
      @wolftalk594 8 лет назад +1

      +Spike Dark you cant paste into the calculator, or any emulator. and plsu someguy already commented all the code

  • @megasam229
    @megasam229 7 лет назад

    it's great and all but what if a want to graph something.

  • @sweatypalms2874
    @sweatypalms2874 5 лет назад

    my bat on the right when it hits the ball it loses a point anyway i know im late but i need help

  • @TheMathMatrix
    @TheMathMatrix 10 лет назад

    even though someone probably isn't going to reply when I did it it says error window range and its at the part where you shade - Shade (0,62) - and I'm doing this on a ti 83 plus graphing calculator can anyone help please?

  • @Dopplejager57
    @Dopplejager57 10 лет назад

    The only way to score on the right side is if the paddle gets hit, otherwise it just bounces off the wall, help?

    • @TheMathMatrix
      @TheMathMatrix 10 лет назад

      same thing happened to me if the ball hit the left paddle the right paddle gets a point

  • @cadengrossman7960
    @cadengrossman7960 6 лет назад +1

    what buttons do you press to get to the screen at 2:42 to put in the while loop?

  • @TopHatVlogs
    @TopHatVlogs 2 года назад +1

    how do i move the paddles?????

  • @PoGoHop360xl
    @PoGoHop360xl 8 лет назад

    Thanks for the tutorial, but (on my ti-84 plus ce) there isn't a single pixel for my ball, but a line showing where the hall went. Can you please help me, thank you!

  • @jared5307
    @jared5307 10 лет назад

    Mine doesn't work. There is no left paddle, and a white line starts appearing as I use right paddle on the left side and I can only move the right paddle up, not down. Also, if I use the right paddle and bring it all the way up I get an error:domain and that is the only way to stop the game

    • @PatrickFeltes
      @PatrickFeltes  10 лет назад

      Just rewatch the video and make sure you have the smae EXACT code as me

  • @PatrickFeltes
    @PatrickFeltes  11 лет назад

    You would need to make new variables for moving speed. But the way I made the if statements, you would need to reconfigure in order to change that

    • @gege02
      @gege02 6 лет назад

      pj6444 please help me
      Every time I want to start it, it says error syntax. When I press go to i have shade(0.62). (Ti-84 plus ce-t)

  • @bovemax
    @bovemax 4 года назад

    Nice Job! Can you tell me how to make the ball go a bit faster? What is your speed variable

  • @ryandubord
    @ryandubord 8 лет назад +1

    The right side doesn't hit the ball back and just keeps adding points to left side. How do I fix this? Please help

  • @liamels6282
    @liamels6282 7 лет назад

    can you please help me, every time the ball hits my right paddle it says ERR:SYNTAX

  • @TimJSwan
    @TimJSwan 10 лет назад

    Wow, I didn't know someone was posting ti videos the same time I was. You're working with pixel graphics? Awesome!

    • @PatrickFeltes
      @PatrickFeltes  10 лет назад

      Thanks! It's really simpler than it looks.

  • @emmett4880
    @emmett4880 10 лет назад

    Where you storing as the letter or the x under mode

  • @marklevenhagen3365
    @marklevenhagen3365 10 лет назад

    Mine says ERR:STAT
    1: QUIT
    I rewatched the video and made sure everything is exactly perfect like you typed it in. What could I be doing wrong?

  • @andrewslattery1364
    @andrewslattery1364 8 лет назад

    Hello i am having problem for the line that you have o enter thst is
    1->F
    -2->E
    i knew that -> is not the stored in but my promplem is is there anyway to add another line to enter things even though there is text under it

    • @magikarpusedsplash8881
      @magikarpusedsplash8881 7 лет назад

      use 2nd and then press DEL (which is mapped to INS on 2nd function) then press enter.

  • @Sunnix0
    @Sunnix0 5 лет назад

    Can you remake it so that it goes faster and be able to hold down a button so it can move faster

  • @aido.8149
    @aido.8149 6 лет назад

    When it says error I press go-to and it says -2 stored into E I don't understand I have a ti 84 plus ce

  • @Ben-lu7zm
    @Ben-lu7zm 6 лет назад

    quick question- what do i do to fix this? every time the ball spawns, it moves to the left side of the screen and no matter where i move the paddle, the ball just goes straight through it. other than that, the game's pretty impressive

  • @funniest_christian
    @funniest_christian 7 лет назад +2

    Pixel on(Y,X) is making an error

  • @nowhed
    @nowhed 7 лет назад +3

    Err: domain

  • @ThatBlazaGuy89
    @ThatBlazaGuy89 7 лет назад

    Is there any way to make the ball bigger??

  • @dylanforbessantos8101
    @dylanforbessantos8101 6 лет назад

    the left panel won't move downwards