{"id":13714353,"url":"https://github.com/deepgrace/tetris","last_synced_at":"2025-05-07T01:33:29.450Z","repository":{"id":187699857,"uuid":"100263097","full_name":"deepgrace/tetris","owner":"deepgrace","description":"Stunning Tetris in all kinds of Languages (C, C++, Go, Shell)♦️","archived":false,"fork":false,"pushed_at":"2022-05-11T14:57:17.000Z","size":139,"stargazers_count":73,"open_issues_count":1,"forks_count":28,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-03T23:30:32.857Z","etag":null,"topics":["c","cpp","go","rust","shell","tetris"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepgrace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE_1_0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-08-14T12:03:24.000Z","updated_at":"2024-02-15T05:51:54.000Z","dependencies_parsed_at":"2023-08-11T20:28:42.909Z","dependency_job_id":null,"html_url":"https://github.com/deepgrace/tetris","commit_stats":null,"previous_names":["deepgrace/tetris"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgrace%2Ftetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgrace%2Ftetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgrace%2Ftetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgrace%2Ftetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepgrace","download_url":"https://codeload.github.com/deepgrace/tetris/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224551230,"owners_count":17330106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cpp","go","rust","shell","tetris"],"created_at":"2024-08-02T23:01:57.682Z","updated_at":"2024-11-14T01:31:02.586Z","avatar_url":"https://github.com/deepgrace.png","language":"C","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# Tetris [![LICENSE](https://img.shields.io/github/license/deepgrace/tetris.svg)](https://github.com/deepgrace/tetris/blob/master/LICENSE_1_0.txt)\n\n\u003e **Stunning Tetris in all kinds of Languages(C, C++, Go, Shell)**\n\n# Linux Platform\n\n## Algorithm\n                                                                    [][][]\n                 [][][]                                         [][][][]\n                 []                  [][][]                         [][]\n     [][] [][]   []  [][][][]  [][][][][]    [][]             [][]  []   [][] [][]\n     [] row []   []  [] (x-m)*zoomx  [][]    []  cos(a) sin(a)  []  []   []  m  []\n     []     [] = []  []              []      []                 []  [] + []     []\n     [] col []   []  [] (y-n)*zoomy  []      [] -sin(a) cos(a)  []  []   []  n  []\n     [][] [][]   []  [][][][]  [][][][]      [][]             [][]  []   [][] [][]\n                 []                                                 []\n                 [][][]                                         [][][]\n\n## Run\n     runlevel     :  Complexity of the pieces              ( Default 31 )\n     previewlevel :  Number of the pieces to be previewed  ( Default 6  )\n     speedlevel   :  Speed of the current piece's descent  ( Default 0  )\n     width        :  Width of the view                     ( Default 25 )\n     height       :  Height of the view                    ( Default 30 )\n\n     Usage        :  ./tetris [ \u003crunlevel\u003e [ \u003cpreviewlevel\u003e [ \u003cspeedlevel\u003e [ \u003cwidth\u003e [height] ] ] ] ] \n     Range        :  [ 0 \u003c= runlevel \u003c= 31 ] [ previewlevel \u003e= 1 ] [ speedlevel \u003c= 30 ] [ width \u003e= 17 ] [ height \u003e= 10 ]\n     Notice       :  runlevel previewlevel speedlevel width height belong to integer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepgrace%2Ftetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepgrace%2Ftetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepgrace%2Ftetris/lists"}