{"id":19015307,"url":"https://github.com/hansolo/tetris","last_synced_at":"2025-04-23T01:47:10.939Z","repository":{"id":145344879,"uuid":"607130290","full_name":"HanSolo/tetris","owner":"HanSolo","description":"A JavaFX clone of the classic Tetris game","archived":false,"fork":false,"pushed_at":"2023-03-15T13:32:03.000Z","size":13021,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-23T01:47:04.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/HanSolo.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":"2023-02-27T11:29:55.000Z","updated_at":"2024-06-09T19:31:59.000Z","dependencies_parsed_at":"2023-07-03T09:17:42.296Z","dependency_job_id":null,"html_url":"https://github.com/HanSolo/tetris","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Ftetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Ftetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Ftetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HanSolo%2Ftetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HanSolo","download_url":"https://codeload.github.com/HanSolo/tetris/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354291,"owners_count":21416749,"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-11-08T19:36:42.483Z","updated_at":"2025-04-23T01:47:10.921Z","avatar_url":"https://github.com/HanSolo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Tetris\n\n[![Github all releases](https://img.shields.io/github/downloads/HanSolo/tetris/total.svg)](https://GitHub.com/HanSolo/tetris/releases/)\n\nTetris is a simple clone of the game Tetris from 1984 by Alexey Pajitnov written in JavaFX.\n\nThe game contains 20 levels where the levels mainly define the speed of the falling blocks.\n\nAll graphics are drawn by myself and can be found in the resources folder\nin the main directory of the project. These files are in the format of Affinity Designer.\n\n### Settings\n- The game will create a properties file in your user folder named tetris.properties\n\ne.g. `/home/YOUR_USERNAME/tetris.properties`\n```properties\nhighscore=0\n```\n\n### Build\n- Get the source of this project\n- Make sure you are on JDK 17\n- call ```./gradlew clean build``` on the command line\n- execute ````bash build_app_macos.sh```` on the command line to build native executable and installer\n\n### Gameplay\n- Space bar to start the game when in start screen otherwise it will rotate the current block\n- Move block to the left: Arrow left\n- Move block to the right: Arrow right\n- Fast drop block: Arrow down\n- Rotate block Space bar\n- M key will toggle between modes (GLOSSY, GITHUB, STANDARD)\n\n\n### Play online in the browser\n[WebFX](https://tetris.webfx.dev/)\n\n\n### ScreenShots\n\n![StartScreen](https://i.ibb.co/71byD10/tetris-start-screen.png)\n\n![GlossyMode](https://i.ibb.co/s3jrJPN/tetris-screen-shot.png)\n\n![GithubMode](https://i.ibb.co/CJtKbcs/tetris-github-mode.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansolo%2Ftetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansolo%2Ftetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansolo%2Ftetris/lists"}