PetePrattis / Tetris-spawn-randomly-L-blocks

This is a program which keeps in memory a table of 10 columns and 20 rows and that plays "Tetris" only by adding L randomly in the table. L is an element with a height of 3 blocks and width of 2 blocks. The program ends when the L surpasses in height 20 blocks, then it prints how many L blocks managed to enter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PetePrattis/Tetris-spawn-randomly-L-blocks Stargazers