{"id":38743137,"url":"https://github.com/ziloka/tetris","last_synced_at":"2026-01-17T11:42:09.018Z","repository":{"id":105287981,"uuid":"524385169","full_name":"ziloka/tetris","owner":"ziloka","description":"A port of four-tris","archived":false,"fork":false,"pushed_at":"2024-12-20T13:13:52.000Z","size":7480,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"macroquad","last_synced_at":"2024-12-20T14:27:30.960Z","etag":null,"topics":["four-tris","game","game-development","games","stacker","stacker-game","tetris","tetris-clone","tetris-game"],"latest_commit_sha":null,"homepage":"https://ziloka.github.io/tetris/index.html","language":"HTML","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/ziloka.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":"2022-08-13T11:52:21.000Z","updated_at":"2023-11-05T21:07:39.000Z","dependencies_parsed_at":"2023-10-15T20:52:25.375Z","dependency_job_id":"6f554085-7d9b-47ce-b979-33363134e4f9","html_url":"https://github.com/ziloka/tetris","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ziloka/tetris","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziloka%2Ftetris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziloka%2Ftetris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziloka%2Ftetris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziloka%2Ftetris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziloka","download_url":"https://codeload.github.com/ziloka/tetris/tar.gz/refs/heads/macroquad","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziloka%2Ftetris/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["four-tris","game","game-development","games","stacker","stacker-game","tetris","tetris-clone","tetris-game"],"created_at":"2026-01-17T11:42:08.900Z","updated_at":"2026-01-17T11:42:08.994Z","avatar_url":"https://github.com/ziloka.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Something similar to [four-tris](https://github.com/fiorescarlatto/four-tris)\n\n# Notes\n\nThe coordinate system is in the [center of the screen](https://bevy-cheatbook.github.io/features/coords.html?highlight=coordinate#2d-and-3d-scenes-and-cameras)\n\nEverything is drawn every frame\n\nPress ESC to open settings to change the controls\nPress F3 if you want to see debugging information\n\nTetris Guideline spefications are followed as closely as possible\nThey are available via [here](https://tetris.fandom.com/wiki/Tetris_Guideline)\n\n[Logging](https://www.reddit.com/r/learnrust/comments/16jde4t/how_do_i_add_a_debug_mode_without_tons_of_if/)\n\n# Contributing\n\nDuring development run \n```\ncargo install cargo-watch\ncargo watch -x run\n```\nto achieve hot code reloading\n\nUse [Act](https://github.com/nektos/act)\nTo test github actions\n```sh\ndocker build --no-cache --tag ziloka/tetris:act-20.04 .\n# docker scout quickview\nact --platform ubuntu=latest=ziloka/tetris:act-20.04 --pull=false --artifact-server-path tmp/artifacts\n# act --platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:rust-22.04 --artifact-server-path tmp/artifacts\n```\n\n# Inspiration taken from\n\nhttps://github.com/vlang/v/tree/master/examples/tetris\n\nhttps://github.com/corbamico/bevy-tetris\n\nhttps://github.com/zigurous/unity-tetris-tutorial\n\nhttps://github.com/JohnnyTurbo/LD43\n\n# Wallkicks\n\nhttps://www.youtube.com/watch?v=yIpk5TJ_uaI\n\nAfter ~37 minutes \nOn windows the memory goes from 50mb to 20~15mb\n\n\nhttps://github.com/thesilican/tetris-ai","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziloka%2Ftetris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziloka%2Ftetris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziloka%2Ftetris/lists"}