{"id":21852271,"url":"https://github.com/devemperor/2048-cli","last_synced_at":"2025-08-30T16:09:22.379Z","repository":{"id":143427236,"uuid":"449859692","full_name":"DevEmperor/2048-cli","owner":"DevEmperor","description":"The original 2048 version playable in the command line","archived":false,"fork":false,"pushed_at":"2022-01-22T19:32:00.000Z","size":7305,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T18:34:32.667Z","etag":null,"topics":["2048-game","cli","fun","games","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevEmperor.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-01-19T21:23:36.000Z","updated_at":"2024-09-02T06:34:04.000Z","dependencies_parsed_at":"2023-03-23T02:17:18.445Z","dependency_job_id":null,"html_url":"https://github.com/DevEmperor/2048-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/DevEmperor/2048-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevEmperor%2F2048-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevEmperor%2F2048-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevEmperor%2F2048-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevEmperor%2F2048-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevEmperor","download_url":"https://codeload.github.com/DevEmperor/2048-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevEmperor%2F2048-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272872714,"owners_count":25007407,"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-30T02:00:09.474Z","response_time":77,"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":["2048-game","cli","fun","games","python"],"created_at":"2024-11-28T01:14:39.914Z","updated_at":"2025-08-30T16:09:22.374Z","avatar_url":"https://github.com/DevEmperor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![asciicast](https://asciinema.org/a/462881.svg)](https://asciinema.org/a/462881)\n# 2048-cli\n![GitHub](https://img.shields.io/github/license/DevEmperor/2048-cli?style=for-the-badge)  ![GitHub release (latest by date)](https://img.shields.io/github/v/release/DevEmperor/2048-cli?style=for-the-badge)\n\n**2048-cli is the first version of the original 2048 game that is playable from the command line on any operating system**\n\n## Installation\n1. Clone this git-repository\n    ```bash\n    git clone https://github.com/DevEmperor/2048-cli.git\n    ```\n2. Install the dependencies (python libraries):\n   ```bash\n   pip3 install -r requirements.txt\n   ```\n3. Run 2048-cli with `python3 2048-cli.py`\n\n## How to play\nUse your arrow keys to move the tiles. Tiles with the same number merge into one when they touch. Add them up to reach the highest number!\nYou can always undo your last move by pressing \"u\" or abort by pressing the \"esc\".\n\n**IMPORTANT: Since 2048-cli uses the Pynput-library, it currently also reads keys that are sent to other applications. Due to this bug, you should always stay in your terminal whil playing, in order to prevent sending keystrokes by accident!**\n\n## License\n2048-cli is under the terms of the [Apapche 2.0 license](https://www.apache.org/licenses/LICENSE-2.0), following all clarifications stated in the [license file](https://raw.githubusercontent.com/DevEmperor/2048-cli/master/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevemperor%2F2048-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevemperor%2F2048-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevemperor%2F2048-cli/lists"}