Handbook
Glossary
buy-acres ( game -- game )
Vocabulary
hamurabi
.
private
Inputs
game
an
object
Outputs
game
an
object
Definition
USING:
kernel
math
;
IN:
hamurabi.private
:
buy-acres
( game -- game )
"HOW MANY ACRES DO YOU WISH TO BUY? "
input
over
#acres-available
dupd
>
"stores"
and
check-error
[
drop
buy-acres
]
[
adjust-acres
]
if
;