Book description
A fun introduction to programming with Small Basic for kids and other beginners.
Publisher resources
Table of contents
- Cover Page
- Title Page
- Copyright Page
- About the Authors
- Brief Contents
- Contents in Detail
- Foreword
- Acknowledgments
- Introduction
- Chapter 1: Introducing Small Basic
- Chapter 2: Getting Started
- Chapter 3: Drawing Basics
- Chapter 4: Using Variables
- Chapter 5: Drawing Shapes with Turtle Graphics
- Chapter 6: Getting User Input
- Chapter 7: Empowering Programs with Math
- Chapter 8: Making Decisions with If Statements
- Chapter 9: Using Decisions to Make Games
-
Chapter 10: Solving Problems with Subroutines
- Why Use Subroutines?
- Writing Subroutines
- Subroutine Input and Output
- Nesting Subroutines
-
Create a Dragon Game
- Step 1: Open the Startup File
- Step 2: Write the SetUp() Subroutine
- Step 3: Add a Bit of Chance
- Step 4: Let the Player Know What’s Going On
- Step 5: Get the Player in the Game with GetChoice()
- Step 6: Process the Player’s Choice
- Step 7: Add Motion with MoveKnight()
- Step 8: Shoot Arrows with ShootArrow()
- Step 9: Swing the Sword with StabDragon()
- Step 10: Breathe Fire
- Programming Challenges
- Chapter 11: Event-Driven Programming
- Chapter 12: Building Graphical User Interfaces
- Chapter 13: Repeating For Loops
- Chapter 14: Creating Conditional While Loops
- Chapter 15: Grouping Data in One-Dimensional Arrays
- Chapter 16: Storing Data with Associative Arrays
- Chapter 17: Expanding to Higher-Dimension Arrays
- Chapter 18: Advanced Text Magic
- Chapter 19: Receiving File Input and Output
- Where to Go from Here
- Index
- Updates
- Footnotes
Product information
- Title: Learn to Program with Small Basic
- Author(s):
- Release date: April 2016
- Publisher(s): No Starch Press
- ISBN: 9781593277024
You might also like
book
Raspberry Pi Projects for Kids
The Raspberry Pi is an inexpensive, pocket-sized computer that will help you build and code your …
book
CDO & MAPI Programming with Visual Basic:
Computers and devices are more connected now than ever before. Why? Because the humans who use …
book
Visual Basic 2015 in 24 Hours, Sams Teach Yourself
In just 24 sessions of one hour or less, you’ll learn how to build complete, reliable, …
book
Visual Basic 2015 Unleashed
Using Visual Basic 2015, developers can build cutting-edge applications that run practically anywhere: on Windows desktops, …