{"id":21806817,"url":"https://github.com/roguh/tetris-for-two","last_synced_at":"2026-04-13T23:03:30.088Z","repository":{"id":89928127,"uuid":"102560610","full_name":"roguh/tetris-for-two","owner":"roguh","description":"Tetris for two. A fun tetris game with many different game modes","archived":false,"fork":false,"pushed_at":"2021-11-22T05:29:02.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T04:42:01.289Z","etag":null,"topics":["css","elm","game","html","html5","javascript","tetris"],"latest_commit_sha":null,"homepage":"http://roguh.com/projects/tetris-for-two/","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roguh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-09-06T03:56:09.000Z","updated_at":"2024-02-22T22:26:09.000Z","dependencies_parsed_at":"2023-05-30T13:45:19.838Z","dependency_job_id":null,"html_url":"https://github.com/roguh/tetris-for-two","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/roguh%2Ftetris-for-two","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roguh%2Ftetris-for-two/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roguh%2Ftetris-for-two/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roguh%2Ftetris-for-two/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roguh","download_url":"https://codeload.github.com/roguh/tetris-for-two/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244759961,"owners_count":20505716,"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":["css","elm","game","html","html5","javascript","tetris"],"created_at":"2024-11-27T12:30:10.811Z","updated_at":"2026-04-13T23:03:30.061Z","avatar_url":"https://github.com/roguh.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tetris for two\nA fun tetris game with many different game modes.\n\n## PLAY HERE: [roguh.com/projects/tetris-for-two](https://roguh.com/projects/tetris-for-two/)\n\n## Player 1 (left) controls:\n\nPress these `BUTTONS` to move your tetromino and beat your opponent!\n\n**Move tetromino to the left**: `A` \n\n**Move tetromino to the right**: `D` \n\n**Drop tetromino faster**: `S`\n\n**Drop tetromino immediately**: `W`\n\n**Rotate tetromino to the left**: `Z`\n\n**Rotate tetromino to the right**: `X`\n\n**Save piece for later**: `T`\n\n\n## Player 2 (right) controls:\n\nPress these `BUTTONS` to move your tetromino and beat your opponent!\n\n**Move tetromino to the left**: `left arrow`  \n\n**Move tetromino to the right**: `right arrow`  \n\n**Drop tetromino faster**: `down arrow` \n\n**Drop tetromino immediately**: `up arrow` \n\n**Rotate tetromino to the left**: `,` \n\n**Rotate tetromino to the right**: `.` \n\n**Save piece for later**: `L` \n\n## Development\n\n### With ASDF\n\nThis project needs an older version of Elm, so an elm version manager is recommended.\n\nHere are instructions using ASDF:\n\n```\n$ asdf plugin add elm\n$ asdf install elm 0.18.0\n$ asdf shell elm 0.18.0\n```\n\n### Building\n\nMake sure you have Elm version 0.18.0 or up and less than 0.19.0:\n\n```\n$ elm --version\n0.18.0\n```\n\nBuild by running:\n\n```\n./build.sh\n```\n\nOutput will be in `./main.js`. You need to load `style.css`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froguh%2Ftetris-for-two","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froguh%2Ftetris-for-two","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froguh%2Ftetris-for-two/lists"}