Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/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.
https://github.com/peteprattis/tetris-spawn-randomly-l-blocks

2darrays arrays computer-science game programm python student tetris

Last synced: about 9 hours ago
JSON representation

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.

Awesome Lists containing this project

README

        

# A Python Program / Project

**This is a simple python project from my early days as a Computer Science student**

_This programm was created for the first semester class Introduction to Computer Science
and is one of a few such simple python programms neccessary to pass the class_

> #### Description of project
>
>>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.

> #### About this project
>
> - The comments to make the code understandable, are within the .py archive
> - This program runs for Python version 3.6+
> - This repository was created to show the variety of the work I did and experience I gained as a student
>