{"id":13467601,"url":"https://github.com/traverseda/pycraft","last_synced_at":"2025-05-16T12:06:11.564Z","repository":{"id":53534598,"uuid":"55692867","full_name":"traverseda/pycraft","owner":"traverseda","description":"A fork of \"Minecraft in 500 lines of python\" intended to someday be used as a real engine, instead of as a learning example.","archived":false,"fork":false,"pushed_at":"2021-03-25T21:57:54.000Z","size":718,"stargazers_count":1092,"open_issues_count":24,"forks_count":96,"subscribers_count":50,"default_branch":"master","last_synced_at":"2025-04-04T21:12:17.901Z","etag":null,"topics":[],"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/traverseda.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-07T12:29:46.000Z","updated_at":"2025-03-01T09:18:48.000Z","dependencies_parsed_at":"2022-08-20T12:31:45.927Z","dependency_job_id":null,"html_url":"https://github.com/traverseda/pycraft","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traverseda%2Fpycraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traverseda%2Fpycraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traverseda%2Fpycraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traverseda%2Fpycraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traverseda","download_url":"https://codeload.github.com/traverseda/pycraft/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247994119,"owners_count":21030050,"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":[],"created_at":"2024-07-31T15:00:58.372Z","updated_at":"2025-04-09T07:04:38.807Z","avatar_url":"https://github.com/traverseda.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":".. image:: https://travis-ci.org/traverseda/pycraft.svg?branch=master\n    :target: https://travis-ci.org/traverseda/pycraft\n.. image:: https://coveralls.io/repos/github/traverseda/pycraft/badge.svg?branch=master \n    :target: https://coveralls.io/github/traverseda/pycraft?branch=master \n\nPyCraft\n=======\n\nA community driven fork of `foglemans \"Minecraft\"\nrepo \u003chttps://github.com/fogleman/Minecraft\u003e`_.\n\n|#pycraft on freenode|\n\n\nMotivation\n----------\n\nPython is somewhat poorly suited for game development. However it is well suited\nto data-science. A lot of our tasks, working with large voxels sets, strongly resemble\nthe kind of problems you encounter in data science.\n\nThe big advantage comes from limiting \"real-time\" state. By not relying on anything having to\nhappen *now*, we can do more complicated computation. At the low-end, that means we can\nimplement much more complicated occluding algorithms, and thus draw more complicated scenes.\n\nThis kind of split could also be used to run more complicated types of operations, like\na cellular automata crudely simulating things like plant growth or water.\n\nWhen possible, we would prefer to \"scale-out\". We don't care about outright efficiency too much,\nrather we care that our solutions can work for very large or very complicated operations.\nThe exact opposite of \"typical\" game development methodology, which would prefer solutions that\n\"scale-up\", solutions that a very fast for the type of data they expect to deal with.\n\nIt is currently pre-alpha quality.\n\n\nScreenshot\n----------\n\n.. figure:: screenshot.png\n   :alt:\n\nVirtual Environment (Recommended)\n---------------------------------\n\n.. code:: bash\n\n    # create a virtual environment\n    virtualenv -p python3 ~/.venv/pycraft # (or wherever)\n    # you may need to add execute permissions\n    chmod -R a+x ~/.venv\n    # activate\n    . ~/.venv/pycraft/bin/activate # on mac\n    . ~/.venv/pycraft/Scripts/activate # on windows\n    # deactivate (when you're done)\n    deactivate\n\nInstalling\n----------\n\n.. code:: bash\n\n    pip install -e .\n\n**option 1:**\n\n.. code:: bash\n\n    pip install -e .[dev]\n    # or: python3 setup.py develop\n    pycraft\n\n**option 2:**\n\n.. code:: bash\n\n    python -m pycraft\n    # or: python3 -m pycraft\n\nFeatures\n--------\n\n* Support for python 3.5\n* Simple Perlin Noise terrain generator\n* Object-oriented blocks system\n\n\nHow to Play\n-----------\n\nMoving\n~~~~~~\n\n-  W: forward\n-  S: back\n-  A: strafe left\n-  D: strafe right\n-  Mouse: look around\n-  Space: jump\n-  Tab: toggle flying mode\n\nBuilding\n~~~~~~~~\n\n-  Selecting the type of block to create:\n\n   -  1: brick\n   -  2: grass\n   -  3: sand\n\n-  Mouse left-click: remove block\n-  Mouse right-click: create block\n\nQuitting\n~~~~~~~~\n\n-  ESC: release mouse, then close window\n\n.. |#pycraft on freenode| image:: https://img.shields.io/badge/chat-on%20freenode-brightgreen.svg\n   :target: https://kiwiirc.com/client/irc.freenode.net/#pycraft\n\n\nContributing\n------------\n\nWe support and encourage contributions.\n\n\n\nAttributions\n------------\n\nThe game textures\n\"`Piehole \u003chttp://piehole.alexvoelk.de/\u003e`__\"\nby\n`Alex Voelk \u003chttp://www.alexvoelk.de/\u003e`__\nis licensed under\n`CC BY 3.0 \u003chttps://creativecommons.org/licenses/by/3.0/\u003e`__.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraverseda%2Fpycraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraverseda%2Fpycraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraverseda%2Fpycraft/lists"}