TI-BASIC For Beginners E04: Conditionals

Поділитися
Вставка
  • Опубліковано 30 чер 2017

КОМЕНТАРІ • 13

  • @ti84satact12
    @ti84satact12 6 років тому +4

    I am starting an after school program where I teach students how to program using the TI84 and TI83. I know how to code basic math programs. However, I have never attempted to write a program for games. Do you have any advice on where/how to begin?

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

      I've learned a lot from this site: tibasicdev.wikidot.com
      It's a good place to refresh on optimization techniques, commands, variables, etc.
      On the same site at tibasicdev.wikidot.com/games you can see a bunch of example games. I would read through one of those programs until you really understand how it works and then program it on your calculator from memory. Don't worry if the code in those examples is difficult to understand or write yourself, they have been optimized for size and speed, not for readability.
      The main difference between a game and a math program is in the I/O. You'll need to be familiar with getKey, Input(, Output(, and the drawing commands (found under [2nd] [prgm]). Many games (not all) can be written in the following form:
      :ClrHome
      :// Initialization
      :Repeat K=45 // Main loop (clear button terminates the program)
      :getKey->K // Get Key Input (You may want to pause until something is input before continuing to game logic)
      :// Game Logic (updates the screen and the internal variables)
      :End
      :// Cleanup (highscores, saving, ClrHome, ...)\
      You can also check out some of the games on my channel like Snake :)

    • @ti84satact12
      @ti84satact12 6 років тому +2

      Thanks for the speedy reply and excellent feedback. I'm already familiar with both of those sites, but I'll definitely take a much closer look at them. I won't start my programming class until next year--early January so I have some time to prepare.

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

      Yes, I have subscribed to your channel and have requested programming information for my TI-84 CE however I have yet to hear from you and it's been 2 weeks. My email is lmlott1@yahoo.com

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

    Which of your videos go over implicit conditionals? I'm having a hard time finding an explanation on the matter as I'm writing the snake game in a different dialect of BASIC.. Does it have any different names in general or other programming languages?

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

    Can I change the name of the program after I've written it?

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

    How come I can't use negative numbers in Celsius what if the temperature that day was -10?

    • @cruz_gomez
      @cruz_gomez 9 місяців тому

      Use the (-) button and not the subtraction button for negative numbers its right next to the . And enter key

  • @khaoskhaos
    @khaoskhaos 4 роки тому +1

    Bezt anglish techer

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

      w h a t

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

      @@cheeseburgerinvr fruz hte fsupu

    • @official-obama
      @official-obama Рік тому

      @@cheeseburgerinvr He misspells a lot of stuff, like Farnhight, Celcius, conditinals, etc

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

      @@official-obama wow, quite the recent comment