Open main menu

CDOT Wiki β

Changes

6502 Assembly Language Math Lab

91 bytes added, 05:40, 20 September 2021
Option 3: Pong
==== Option 3: Pong ====
# Create a single-user version of the classic [https://en.wikipedia.org/wiki/Pong Pong] game: one paddle, controlled by the keyboard, and one single-pixel ball that bounces off the paddle plus the three sides of the screen not guarded by the paddle. The game is over if the ball hits the fourth side of the screen. (The screen may optionally have lines drawn on the three sides on which the ball bounces).
Challenge: extend the code to play a game similar to [https://en.wikipedia.org/wiki/Breakout_(video_game) Breakout].