User Tools

Site Tools


notes:comporg:spring2025:projects:mtb2

This is an old revision of the document!


Pong

scoring

Scoring in pong is as simple as checking if the ball has left the screen; if it crosses the left side the right player gets a point, and vice versa.

For our purposes, we can check if the ball's x position has exceeded 640 or subceeded 0

score storage

score display

computer operated player

determining computer paddle movement

difficulty of computer player

notes/comporg/spring2025/projects/mtb2.1740436620.txt.gz · Last modified: 2025/02/24 22:37 by cgrant9