rows-score ( level n -- score )


Vocabulary
tetris.game

Inputs
levelan object
nan object


Outputs
scorean object


Definition


: rows-score ( level n -- score )
{
{ 0 [ 0 ] }
{ 1 [ 40 ] }
{ 2 [ 100 ] }
{ 3 [ 300 ] }
{ 4 [ 1200 ] }
} case swap 1 + * ;