card-face-summary. ( json seq -- )


Vocabulary
scryfall

Inputs
jsonan object
seqan object


Outputs
None

Definition


: card-face-summary. ( json seq -- )
{
[ nip "name" of write bl ]
[ nip "mana_cost" of ?print ]
[ nip "type_line" of ?write ]
[ drop bl "--" write bl "rarity" of >title ?print ]
[
nip [ "power" of ] [ "toughness" of ] bi 2dup and
[ "/" glue print ] [ 2drop ] if
]
[ nip "oracle_text" of ?print ]
} 2cleave nl ;