Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/peteprattis/tetris-spawn-randomly-l-blocks
- Owner: PetePrattis
- License: mit
- Created: 2019-10-07T23:58:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T15:59:21.000Z (about 5 years ago)
- Last Synced: 2023-09-14T10:17:32.212Z (about 1 year ago)
- Topics: 2darrays, arrays, computer-science, game, programm, python, student, tetris
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
>