pong vocabulary
Factor handbook > Vocabulary index


Summary
pong vocabulary

Meta-data
Tags:games
Authors:Eduardo Cavazos


Words

Tuple classes
ClassSuperclassSlots
ball veldiameter bounciness max-speed
computer paddlespeed
paddle rectangle
play-field rectangle
pong-gadget gadgetpaused field ball player computer


Generic words
WordStack effect
draw( obj -- )


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 -- )
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-gadget?( object -- ? )


Files