Programming a Snake Game on an Apple II Plus Computer in Apple Basic

TLDRWatch as I attempt to program a popular coding challenge, creating a snake game on an Apple II Plus computer using Apple Basic language. Follow along as I explain the steps and techniques, and witness the nostalgic process of coding on an old computer.

Key insights

:snake:I'm attempting to program a snake game on an Apple II Plus computer using Apple Basic language.

:keyboard:This coding challenge involves typing in Basic code directly at the command prompt without using a modern text editor.

:memo:Basic commands such as Print, List, and Run are used to write and run the code.

:game_die:I demonstrate how to handle user input from the keyboard using GoTo and GoSub commands.

:arrow_up_down:The snake's movement is controlled using the W, A, S, D keys as arrow keys are not available on the Apple II Plus keyboard.

Q&A

Is Apple Basic a difficult programming language?

Apple Basic is a beginner-friendly language and a great starting point for learning programming.

Can this snake game be played on modern computers?

No, this snake game is specifically programmed for the Apple II Plus computer running Apple Basic language.

What other games can be created using Apple Basic?

With Apple Basic, you can create various simple games such as Pong, Simon, and Tic-Tac-Toe.

Is programming games on vintage computers still relevant today?

While it may not have practical applications, programming games on vintage computers is a fun and nostalgic way to learn about the history of computing.

Are there any limitations or challenges involved in using vintage computers for programming?

Vintage computers often have limited capabilities, outdated programming languages, and limited memory, which can make programming more challenging compared to modern systems.

Timestamped Summary

00:00This video showcases the process of programming a snake game on an Apple II Plus computer using Apple Basic.

01:30I explain the basics of the coding challenge and give an overview of the Apple II Plus computer.

05:50I demonstrate how to write Basic code directly at the command prompt and print a simple message.

08:40I show how to handle keyboard input to control the snake's movement.

11:11I introduce the use of arrays to represent the snake's position and discuss limitations of variable memory space.

13:07I discuss the progress made in the coding challenge and highlight next steps.