pong vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Tags:demos, games
Authors:Eduardo Cavazos


Words

Tuple classes
ClassSuperclassSlots
ball tuplepos vel
pong-gadget gadgettimer ball player computer game-over?


Ordinary words
WordStack effect
<pong-gadget>( -- gadget )
?bounce-off-paddle( BALL GADGET PADDLE -- )
BALL-DIM( -- value )
BALL-SIZE( -- value )
BOUNCE( -- value )
FONT( -- value )
MAX-SPEED( -- value )
PADDLE-DIM( -- value )
PADDLE-SIZE( -- value )
bounce-off-paddle( BALL PADDLE -- )
bounce-off-wall( BALL -- )
com-new-game( gadget -- )
com-pause( gadget -- )
initial-state( gadget -- gadget )
move-ball( GADGET -- )
move-computer( GADGET -- )
move-computer-by( GADGET N -- )
move-player( GADGET -- )
on-tick( GADGET -- )
pong-window( -- )


Class predicate words
WordStack effect
ball?( object -- ? )
pong-gadget?( object -- ? )


Files


Metadata files