pong vocabulary
Factor handbook > Vocabulary index


Summary
pong vocabulary

Words

Tuple classes
ClassSuperclassSlots
<ball> <vel>diameter bounciness max-speed
<computer> <paddle>speed
<paddle> <rectangle>
<play-field> <rectangle>
<pong> gadgetpaused field ball player computer


Ordinary words
WordStack effect
above-lower-bound?( ball field -- ? )
align-paddle-with-mouse( PADDLE PLAY-FIELD -- )
below-upper-bound?( ball field -- ? )
bounce-change-vertical-velocity( BALL -- )
bounce-off-paddle( BALL PADDLE -- )
clamp-to-interval( x interval -- x )
computer-move-left( computer -- )
computer-move-right( computer -- )
draw( obj -- )
in-bounds?( ball field -- ? )
iterate-system( GADGET -- )
mouse-x( -- x )
pong( -- gadget )
pong-window( -- )
start-pong-thread( GADGET -- )
valid-paddle-interval( PADDLE PLAY-FIELD -- interval )


Class predicate words
WordStack effect
<ball>?( object -- ? )
<computer>?( object -- ? )
<paddle>?( object -- ? )
<play-field>?( object -- ? )
<pong>?( object -- ? )


Files