Appendix 6: Content Overview of the Book

"QBasic Games & More!"


ISBN 1-56529-231-6

QBasic Games & More! is a classic book on game programming using the QBasic programming language. QBasic Games & More! was published in 1993. The author is Fred Sexton Jr.


Back Cover

That mind-numbing process of writing dull, stubborn and lifeless code is about to change. QBasic Games & More! gets you past the stale drone zone and into creating fully functional and interesting commercial-grade utilities—all with comfortable, quick QBasic.

Whether you're a programmer or just curious, you get great ideas with this book. Learn how to construct 12 programs without getting bogged down in abstract tutorials or confusing essays. Each chapter covers a different project included on the bound-in disk. This way, you can tinker with existing program code and high-powered tricks—right from the source.

Everything you need to build QBasic skills are here. Start having fun with QBasic - now!


What's on the QBasic Games & More! disk?

The disk contains the source code for the these projects :

Amazing—A challenging maze game.

Counter Action—A fast-paced action reflex game.

Follow Me—A puzzle player's dream come true.

Hand Ball—A game similar to real handball.

Image Editor—A custom, 256-color image editor that simplifies image creation.

If Pigs Could Fly—An animated flying pig screen saver.

Kaleidoscope—A colorful screen saver that fills the screen with beautifully arranged lines.

Match Maker—A game that challenges your memory skills.

Over a Barrel—An animated adventure treasure hunt.

Palette Editor—A highly functional program that creates and saves custom palette files.

Space Defense—An arcade-style alien invasion game.

Treasure Slot—An exciting slot machine game (that won't empty your wallet.)


Table of Contents

  • Introduction
    • Overview
    • What is in This Book?
    • Conventions Used
  • 1. Kaleidoscope
    • Overview
    • Program Operation
    • Program Details
      • Start-Up
      • Initialization
      • Main Program Loop
        • First-Line Calculation
        • Step-Value Calculation
        • Mode Determination
        • Automatic Mode Switching
        • Exit Decision
    • Kaleidoscope Source Code
  • 2. Counter Action
    • Overview
    • Program Operation
    • Program Details
      • Start Up
      • TSR Verification
      • Initialization
        • Program Initialization
        • New Game Initialization
      • Main Program Loop
        • UpDateKeys Subprogram
        • Calculation of Ball Position
        • Limit Check
        • Ball Movement
        • Score and Speed Calculation
        • Edit Decision
      • Play-Again Decision
    • Counter-Action Source Code
  • 3. Hand Ball
    • Overview
    • Program Operation
    • Program Details
      • Start-Up
      • TSR Verification
      • Initialization
        • Program Initialization
        • New Game Initialization
      • Main Program Loop
        • Calculation of Paddle Position
        • Calculation of Ball Position
      • Play-Again Decision
    • Hand Ball Source Code
  • 4. Follow Me
    • Overview
    • Program Operation
    • Program Details
      • Start-Up
      • TSR and Mouse Verification
      • Initialization
        • Program Initialization
        • New Game Initialization
      • Main Program Loop
        • Playing the Sequence
        • Mouse Input Loop
        • Sequence Length Decision
        • Exit Decision
      • Play-Again Decision
    • Follow Me Source Code
  • 5. Match Maker
    • Overview
    • Program Operation
    • Program Details
      • Start-Up
      • TSR and Mouse Verification
      • Initialization
        • Program Initialization
        • New Game Initialization
      • Main Program Loop
        • Determination of Box Clicks
        • Match Determination
        • Exit Decision
      • Play-Again Decision
    • QBGMPut Subprogram
    • Match Maker Source Code
  • 6. Amazing
    • Overview
    • Program Operation
      • Game Play
      • Maze Editing
        • Edit Maze
        • New Maze
        • Load Maze
        • View Maze
        • Save Maze
        • Quit Editor
      • Program Details
    • Start-Up
    • TSR and Mouse Verification
    • Program Initialization
      • LoadMaze Subprogram
      • ShowMaze Subprogram
    • Main Program Loop
      • Menus Function
      • PlayTheGame Subprogram
      • EditMazes Subprogram
      • PositionParts Subprogram
      • SelectPart Function
    • Amazing Source Code
  • 7. Palette Editor
    • Overview
    • Program Operation
      • Undo, Copy, Paste
      • Load, Save, Edit
    • Program Details
      • Start-Up
      • TSR and Mouse Verification
      • Initialization
      • Main Program Loop
        • Right Click
        • Left Click
        • Current Color Update
        • Control Bar Update
      • PullDown Function
      • GetFileList Subprogram
      • InPutFileName$ Function
    • Palette Editor Source Code
  • 8. Image Editor
    • Overview
    • Program Operation
      • Main Menu
        • New
        • Load
        • Save
        • Setup
        • Exit
      • Edit Menu
        • Undo
        • Cut
        • Copy
        • Paste
        • Edit
        • Mirror and Flip
        • Colors
        • Arrange
        • Adjust X and Adjust Y
    • Program Details
      • Start-Up
      • TSR and Mouse Verification
      • Initialization
        • CalcImageData Subprogram
        • DrawBorder Subprogram
        • SetupSpriteArrays Subprogram
      • Main Program Loop
        • Main Menu
        • Edit Menu
        • DisplayMsg Subprogram
        • GPWorkSprite Subprogram
        • InPutNumber Function
        • SelectColor Function
      • Image Editor Source Code
  • 9. Treasure Slot
    • Overview
    • Program Operation
    • Program Details
      • Start-Up
      • TSR Verification
      • Initialization
      • Main Program Loop
      • ScrollImages Subprogram
    • Treasure Slot Source Code
  • 10. If Pigs Could Fly
    • Overview
    • Program Operation
    • Program Details
      • Start-Up
      • TSR Verification
      • Initialization
      • Main Program Loop
    • If Pigs Could Fly
      • Source Code
  • 11. Over a Barrel
    • Overview
    • Program Operation
    • Program Details
      • Start-Up
      • TSR Verification
      • Initialization
        • TitleScreen Subprogram
        • Restart Subprogram
      • Main Program Loop
      • PullDown Function
      • WalBoy Subprogram
      • MoveBarrel Function
      • JumpBoy Subprogram
      • BldScreen Subprogram
    • Over a Barrel Source Code
  • 12. Space Defense
    • Overview
    • Program Operation
    • Program Details
      • Start-Up
      • TSR Verification
      • Initialization
        • Program Initialization
        • New Game Initialization
      • Main Program Loop
        • Cannon Shot
        • Alien Ship Movement
      • Alien Victory March
      • Play-Again Decision
    • Space Defense Source Code
  • A. The QBasic Extender TSR
    • Overview
    • Operation
    • Details
      • TSR Function 0 Key Table Address
      • TSR Function 1 Mouse Presence
      • TSR Function 2 Button Status
      • TSR Functions 3 and 4 Get / Set Mouse Position
      • TSR Functions 5 and 6 Mouse Cursor On / Off
      • TSR Functions 7 and 8 Set Mouse Limits
      • TSR Function 9 File Exist / Size
      • TSR Function 10 File Count
      • TSR Function 11 File List
  • Index


[zur Buchbesprechung/ to the Book Review]    [zur QBasic-Bücherseite]    [zur Startseite www.antonis.de]    [zur framelosen Startseite]