{"id":15612467,"url":"https://github.com/kylefox/tetris","last_synced_at":"2025-08-22T08:31:40.490Z","repository":{"id":66575055,"uuid":"53147892","full_name":"kylefox/tetris","owner":"kylefox","description":"Because writing Tetris is a rite of passage.","archived":false,"fork":false,"pushed_at":"2016-03-10T17:50:19.000Z","size":41,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-02T00:24:32.187Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tetris.kylefox.ca/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylefox.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-04T16:10:38.000Z","updated_at":"2016-03-10T03:36:25.000Z","dependencies_parsed_at":"2023-06-01T17:46:04.922Z","dependency_job_id":null,"html_url":"https://github.com/kylefox/tetris","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylefox","download_url":"https://codeload.github.com/kylefox/tetris/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230575850,"owners_count":18247484,"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":"2024-10-03T06:43:10.004Z","updated_at":"2024-12-20T11:08:27.431Z","avatar_url":"https://github.com/kylefox.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tetris!\r\n\r\nA generic Tetris engine, in JavaScript, just for fun. The idea is to create a game engine that runs the logic while keeping the interface decoupled. I've no doubt solved some of the problems in a boneheaded fashion — suggestions \u0026 improvements welcome!\r\n\r\nYou can view a (probably outdated) demo at [tetris.kylefox.ca](http://tetris.kylefox.ca/).\r\n\r\n## Setup\r\n\r\n```bash\r\ngit clone git@github.com:kylefox/tetris.git\r\ncd tetris\r\nnpm install\r\ngulp\r\n```\r\n\r\nThe `gulp` task watches, compiles, and runs a live-reload server at [http://localhost:9000/](http://localhost:9000/)\r\n\r\n## Notes \u0026 Resources\r\n\r\n* Tetris rules for [Super Rotation System](http://tetris.wikia.com/wiki/SRS)\r\n* Gulp project based on [vintem/gulp-babel-demo](https://github.com/vintem/gulp-babel-demo)\r\n* Some ideas inspired by [Javascript Tetris](http://codeincomplete.com/posts/2011/10/10/javascript_tetris/)\r\n\r\n\r\n## License\r\n\r\nThe game, name, and all associated works of Tetris are owned and trademarked by [The Tetris Company.](http://tetris.com/)\r\n\r\nThis source code is released under The MIT License (MIT)\r\n\r\nCopyright (c) 2016 Kyle Fox\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylefox%2Ftetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylefox%2Ftetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylefox%2Ftetris/lists"}