Tags: | demos, games |
Authors: | Eduardo Cavazos |
Class | Superclass | Slots |
ball | tuple | pos vel |
pong-gadget | gadget | timer ball player computer game-over? |
Word | Stack 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 | ( -- ) |
Word | Stack effect |
ball? | ( object -- ? ) |
pong-gadget? | ( object -- ? ) |