{"id":30318184,"url":"https://github.com/uvipen/Tetris-deep-Q-learning-pytorch","last_synced_at":"2025-08-17T20:09:39.783Z","repository":{"id":41567987,"uuid":"251007070","full_name":"vietnh1009/Tetris-deep-Q-learning-pytorch","owner":"vietnh1009","description":"Deep Q-learning for playing tetris game","archived":false,"fork":false,"pushed_at":"2023-04-03T20:17:10.000Z","size":14687,"stargazers_count":507,"open_issues_count":6,"forks_count":116,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-08-05T01:32:10.196Z","etag":null,"topics":["cv2","deep-q-learning","deep-q-network","pytorch","reinforcement-learning"],"latest_commit_sha":null,"homepage":"","language":"Python","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/vietnh1009.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}},"created_at":"2020-03-29T10:35:44.000Z","updated_at":"2025-08-03T19:08:45.000Z","dependencies_parsed_at":"2022-08-20T05:21:53.585Z","dependency_job_id":"fc2eeaf5-300c-4654-b645-d8bab9acaf5a","html_url":"https://github.com/vietnh1009/Tetris-deep-Q-learning-pytorch","commit_stats":null,"previous_names":["vietnh1009/tetris-deep-q-learning-pytorch","uvipen/tetris-deep-q-learning-pytorch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vietnh1009/Tetris-deep-Q-learning-pytorch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietnh1009%2FTetris-deep-Q-learning-pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietnh1009%2FTetris-deep-Q-learning-pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietnh1009%2FTetris-deep-Q-learning-pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietnh1009%2FTetris-deep-Q-learning-pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vietnh1009","download_url":"https://codeload.github.com/vietnh1009/Tetris-deep-Q-learning-pytorch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietnh1009%2FTetris-deep-Q-learning-pytorch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270899582,"owners_count":24664720,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cv2","deep-q-learning","deep-q-network","pytorch","reinforcement-learning"],"created_at":"2025-08-17T20:04:04.163Z","updated_at":"2025-08-17T20:09:39.581Z","avatar_url":"https://github.com/vietnh1009.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# [PYTORCH] Deep Q-learning for playing Tetris\n\n## Introduction\n\nHere is my python source code for training an agent to play Tetris. It could be seen as a very basic example of Reinforcement Learning's application.\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"demo/tetris.gif\" width=600\u003e\u003cbr/\u003e\n  \u003ci\u003eTetris demo\u003c/i\u003e\n\u003c/p\u003e\n\nThe demo could also be found at [youtube demo](https://youtu.be/g96x6uATAR8)\n\n## How to use my code\n\nWith my code, you can:\n* **Train your model from scratch** by running **python train.py**\n* **Test your trained model** by running **python test.py**\n\n## Trained models\n\nYou could find my trained model at **trained_models/tetris**\n \n## Requirements\n\n* **python 3.6**\n* **PIL**\n* **cv2**\n* **pytorch** \n* **numpy**\n* **matplotlib**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuvipen%2FTetris-deep-Q-learning-pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuvipen%2FTetris-deep-Q-learning-pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuvipen%2FTetris-deep-Q-learning-pytorch/lists"}