{"id":26637997,"url":"https://github.com/lucky845/ts-tetris-game","last_synced_at":"2026-05-15T22:32:46.927Z","repository":{"id":284076227,"uuid":"953743778","full_name":"lucky845/ts-tetris-game","owner":"lucky845","description":"A modern implementation of the classic Tetris game built with TypeScript and HTML5 Canvas.","archived":false,"fork":false,"pushed_at":"2025-03-24T02:20:00.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T03:24:13.271Z","etag":null,"topics":["game","tetris","typescript","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lucky845.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":"2025-03-24T02:15:56.000Z","updated_at":"2025-03-24T02:20:56.000Z","dependencies_parsed_at":"2025-03-24T03:24:16.112Z","dependency_job_id":"2d0737da-d54a-4e77-bf45-d8482d07e6ae","html_url":"https://github.com/lucky845/ts-tetris-game","commit_stats":null,"previous_names":["lucky845/ts-tetris-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucky845%2Fts-tetris-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucky845%2Fts-tetris-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucky845%2Fts-tetris-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucky845%2Fts-tetris-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucky845","download_url":"https://codeload.github.com/lucky845/ts-tetris-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245316708,"owners_count":20595485,"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":["game","tetris","typescript","webpack"],"created_at":"2025-03-24T17:24:48.296Z","updated_at":"2025-10-04T03:09:27.178Z","avatar_url":"https://github.com/lucky845.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript Tetris Game\n\nA modern implementation of the classic Tetris game built with TypeScript and HTML5 Canvas.\n\n\u003cimg src=\"screenshot.png\" alt=\"Tetris Game Screenshot\" width=\"400\" height=\"auto\" style=\"display: block; margin: auto;\"\u003e\n\n## Features\n\n- Classic Tetris gameplay with modern visuals\n- Responsive controls for desktop\n- Score tracking and level progression\n- Speed increases as level advances\n- Preview of the next piece\n- Game pause and resume functionality\n- Retro-styled game console UI\n\n## Getting Started\n\n### Prerequisites\n\n- [Bun](https://bun.sh/) - Fast JavaScript runtime \u0026 package manager\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/lucky845/ts-tetris-game.git\n   cd ts-tetris-game\n   ```\n\n2. Install dependencies:\n   ```bash\n   bun install\n   ```\n\n3. Start the development server:\n   ```bash\n   bun run start\n   ```\n\n4. Build for production:\n   ```bash\n   bun run build\n   ```\n\n## Game Controls\n\n- **←, →**: Move piece left/right\n- **↓**: Move piece down\n- **↑**: Rotate piece\n- **Space**: Hard drop\n- **P**: Pause/Resume game\n- Or use on-screen controls\n\n## Technical Details\n\n- Written in TypeScript\n- Rendered using HTML5 Canvas\n- No external game libraries - built from scratch\n- Bundled with Bun\n\n## Project Structure\n\n```\nts-tetris-game/\n├── src/\n│   ├── controllers/    # Game controllers\n│   ├── models/         # Game logic and data models\n│   ├── renderers/      # Rendering logic\n│   └── index.ts        # Entry point\n├── public/\n│   ├── styles/         # CSS styles\n│   └── index.html      # HTML template\n├── dist/               # Compiled files\n└── package.json        # Project configuration\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Inspired by the original Tetris game\n- Built with modern web technologies ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucky845%2Fts-tetris-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucky845%2Fts-tetris-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucky845%2Fts-tetris-game/lists"}