{"id":13526467,"url":"https://github.com/itsapi/pycraft","last_synced_at":"2026-01-11T13:44:43.811Z","repository":{"id":16180600,"uuid":"18927074","full_name":"itsapi/pycraft","owner":"itsapi","description":"A Minecraft-inspired game for the terminal","archived":false,"fork":false,"pushed_at":"2023-12-04T17:41:30.000Z","size":768,"stargazers_count":198,"open_issues_count":37,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-08-02T06:21:04.904Z","etag":null,"topics":["game","pycraft","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsapi.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}},"created_at":"2014-04-18T22:05:58.000Z","updated_at":"2024-07-15T15:02:48.000Z","dependencies_parsed_at":"2024-04-12T03:40:25.174Z","dependency_job_id":"dc11eb64-a1de-438e-8958-45f94e0df38d","html_url":"https://github.com/itsapi/pycraft","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsapi%2Fpycraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsapi%2Fpycraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsapi%2Fpycraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsapi%2Fpycraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsapi","download_url":"https://codeload.github.com/itsapi/pycraft/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222709643,"owners_count":17026763,"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","pycraft","python"],"created_at":"2024-08-01T06:01:30.153Z","updated_at":"2024-11-02T11:31:07.208Z","avatar_url":"https://github.com/itsapi.png","language":"Python","funding_links":[],"categories":["Sandbox","Native"],"sub_categories":["Sandbox"],"readme":"[![Run on Repl.it](https://repl.it/badge/github/itsapi/pycraft)](https://repl.it/github/itsapi/pycraft)\n\n# Pycraft\n\nA command line based 2D Minecraft, runs best on *nix with Python 3.3+. Built by [geraintwhite](https://github.com/geraintwhite) and [olls](https://github.com/olls).\n\nUsage: `python3 main.py`\n\n![Pycraft gameplay image](https://cdn.dvbris.com/pycraft-2.gif)\n\n## Controls\n\nFor the best control, set keyboard repeat time to around 200-300ms.\n\n```\nMenus:\n   Move up                    - W or UP\n   Move down                  - S or DOWN\n   Select                     - SPACE or RETURN\n   Pause                      - SPACE or RETURN\nBlocks:\n   Break/place block          - K\n   Move cursor clockwise      - L\n   Move cursor anti-clockwise - J\nInventory:\n   Cycle inventory down       - O\n   Cycle inventory up         - U\n   Toggle crafting menu       - C\n   Craft selected item        - I\nMovement:\n   Move left                  - A\n   Move right                 - D\n   Jump                       - W\n```\n\n## Crafting\n\nA number of items are only obtainable through the crafting system.\nItems that can be crafted with the materials in the player inventory will automatically show up in the crafting grid.\nPress \u003ckbd\u003eC\u003c/kbd\u003e to toggle selection between inventory and crafting grid. Press \u003ckbd\u003eI\u003c/kbd\u003e to craft the currently selected item.\n\n#### Recipes:\n\n- 6 sticks:\n   - 1 wood\n- 4 torches:\n   - 1 stick\n   - 1 coal\n- ladder:\n   - 3 sticks\n- wooden pickaxe:\n   - 2 sticks\n   - 3 wood\n- stone pickaxe:\n   - 2 sticks\n   - 3 stone\n- iron pickaxe:\n   - 2 sticks\n   - 3 iron\n- diamond pickaxe:\n   - 2 sticks\n   - 3 diamonds\n\n####  Tools:\n\nCertain blocks require the right tool before being able to mine it.\nThe tool has to be selected in inventory to be able to use it.\nEach tier of pickaxe can break more blocks than the previous tier.\n\n- fist (i.e. don't need a tool):\n   - grass\n   - tall grass\n   - wood\n   - leaves\n   - torch\n   - ladder\n- wooden pickaxe:\n   - stone\n- stone pickaxe:\n   - coal\n   - iron\n- iron pickaxe:\n   - redstone\n   - gold\n   - diamond\n- diamond pickaxe:\n   - emerald\n\n## Using the C Renderer\n\nThe C renderer is likely to be faster than the Python renderer. To use the C renderer, it must be compiled first. To complile, run the command: `python3 setup.py build` in the root of the repository. Then run the game as normal and go into settings to switch the renderers.\n\nPlease report any bugs in the C renderer, or differences between the Python renderer and the C renderer in issues.\n\n## Contributing\n\nWe welcome pull requests or issues for bug reports/fixes or new feature ideas! Help us make the game more fun :D\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsapi%2Fpycraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsapi%2Fpycraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsapi%2Fpycraft/lists"}