end-game ( array -- )


Vocabulary
24-game

Inputs
arrayan object


Outputs
None

Definition


: end-game ( array -- )
first dup 24 =
[ drop "You WON!" ] [ "%d is not 24... You lose." sprintf ]
if print ;