{"id":24076690,"url":"https://github.com/apirogov/tetris4g","last_synced_at":"2025-09-16T10:32:30.623Z","repository":{"id":1251957,"uuid":"1190563","full_name":"apirogov/Tetris4G","owner":"apirogov","description":"A HTML5 game inspired by Tetris","archived":false,"fork":false,"pushed_at":"2011-03-30T22:39:51.000Z","size":7590,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-11T06:32:33.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apirogov.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-12-22T16:30:14.000Z","updated_at":"2014-03-03T17:09:08.000Z","dependencies_parsed_at":"2022-08-16T12:45:19.481Z","dependency_job_id":null,"html_url":"https://github.com/apirogov/Tetris4G","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apirogov%2FTetris4G","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apirogov%2FTetris4G/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apirogov%2FTetris4G/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apirogov%2FTetris4G/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apirogov","download_url":"https://codeload.github.com/apirogov/Tetris4G/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233251961,"owners_count":18648145,"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":[],"created_at":"2025-01-09T20:00:17.039Z","updated_at":"2025-09-16T10:32:25.126Z","avatar_url":"https://github.com/apirogov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tetris 4G\n==========================\n\nAbout\n--------------------------\n“Tetris 4G“ is a 2D online casual game, inspired by “Tetris”.\n\nGame rules / description\n--------------------------\nThe playing field consists of about a 30 x 30 grid (variable). In the middle of the field, new geometry objects (Tetris-like) spawn. The player´s task is to move them to a wall, where he has to build full lines that disappear. What distinguishes “Tetris 4G” from Tetris is the “4G”: while Tetris uses one ground and a sky, Tetris 4G has gravity at all four borders of the playing field. The nearer objects are to the center point, the greater gets the gravity to a certain direction. If an object is located in the middle and a new object spawns on top of it, the game is lost.\n\nTechnical description\n--------------------------\nGravity is defined by “gravity lines”: at each wall, the block located the furthest from the wall makes up the gravity line on it´s height, parallel to the wall.\nForces on objects are calculated by addition of all four gravities and so is the velocity. Forces are calculated by the distances to the gravity lines\nThe player can influence the movement of an object by hitting the arrow keys. This adds forces to the calculation.\nThe game contains missions: e.g. “build 2 lines at wall 4 in 25 sec.”. Rewards for missions are items such as increasing the power of the arrow keys for a period of time.\n\nProgramming\n--------------------------\nHTML 5, CSS\nJavascript (ECMAScript)\njQuery (http://jquery.com/)\nProcessing.js (http://processingjs.org/)\n\nLicense\n--------------------------\n“Tetris 4G” is licensed under the GNU GENERAL PUBLIC LICENSE http://www.gnu.org/licenses/gpl.txt\n\nCopyright © 2010 by Anton Pirogov and Felix Wiemuth\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapirogov%2Ftetris4g","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapirogov%2Ftetris4g","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapirogov%2Ftetris4g/lists"}