{ "info": { "author": "Ross Anderson", "author_email": "ross.anderson@ualberta.ca", "bugtrack_url": null, "classifiers": [], "description": "hexgrid\n-------\n\nFunctions for working with a hexagonal settlers of catan grid\n\nThis module implements the coordinate system described in Robert S. Thomas's PhD dissertation on \nJSettlers2, Appendix A. See the project at https://github.com/jdmonin/JSettlers2 for details.\n\nSupports Python 3. Might work in Python 2.\n\nSee `hexgrid.py` for thorough documentation.\n\n> Author: Ross Anderson ([rosshamish](https://github.com/rosshamish))\n\n### Installation\n\n```\npip install hexgrid\n```\n\n### Usage\n\nSee https://github.com/rosshamish/catan-spectator for extended usage.\n\nThe module is a soup of functions which compute various transforms on tile, node and edge coordinates.\nFunctions are well documented - read function names and docstrings in the code for more info.\n\n### Coordinate System\n\nThe coordinate system is the one described in Robert S. Thomas's PhD dissertation on\nJSettlers2, Appendix A. See the project at https://github.com/jdmonin/JSettlers2\n\nThe idea is that there are three things: tiles, nodes, and edges.\n\nAll three have integer coordinates.\n\nTiles also have identifiers, which range from 1 through 19.\n\nThe coordinates are such that it's easy to compute a tile, node, or edge's neighbours by adding and subtracting.\nSee the dissertation and/or the code for details.\n\n### Maps\n\n- Tile identifiers\n\n![tile order](doc/images/tile_order.png)\n\n- Tile coordinates\n\n![tile coords](doc/images/tile_coords.png)\n\n- Node coordinates\n\n![node coords](doc/images/node_coords.png)\n\n- Edge coordinates\n\n![edge coords](doc/images/edge_coords.png)\n\n### License\n\nGPLv3", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/rosshamish/hexgrid/tarball/0.2.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rosshamish/hexgrid/", "keywords": null, "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "hexgrid", "package_url": "https://pypi.org/project/hexgrid/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hexgrid/", "project_urls": { "Download": "https://github.com/rosshamish/hexgrid/tarball/0.2.1", "Homepage": "https://github.com/rosshamish/hexgrid/" }, "release_url": "https://pypi.org/project/hexgrid/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "functions for working with a hexagonal settlers of catan grid", "version": "0.2.1" }, "last_serial": 1943553, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "5d0f14b563a1980d82f60282903ed34d", "sha256": "1ee2503d376a7d9451a1635bebecb3f00b5ae95a017bc5eadecd08e941b5b654" }, "downloads": -1, "filename": "hexgrid-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5d0f14b563a1980d82f60282903ed34d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4305, "upload_time": "2016-01-15T07:00:57", "url": "https://files.pythonhosted.org/packages/32/9e/60f412c12b40c66df5829ed835c49e92af117ba5cbe4e534c2eec3921eda/hexgrid-0.1.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "ff0031287c8670f96d780e236aecbe55", "sha256": "9e660dd691754262a532322c7a08ac783144894eaef9c9e9a386d2f8e771e31c" }, "downloads": -1, "filename": "hexgrid-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ff0031287c8670f96d780e236aecbe55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4814, "upload_time": "2016-02-06T22:02:10", "url": "https://files.pythonhosted.org/packages/db/ca/c6e63f1a984c364ac47bf8216eb55467ac251772143f57767c8f30ec2555/hexgrid-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ff0031287c8670f96d780e236aecbe55", "sha256": "9e660dd691754262a532322c7a08ac783144894eaef9c9e9a386d2f8e771e31c" }, "downloads": -1, "filename": "hexgrid-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ff0031287c8670f96d780e236aecbe55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4814, "upload_time": "2016-02-06T22:02:10", "url": "https://files.pythonhosted.org/packages/db/ca/c6e63f1a984c364ac47bf8216eb55467ac251772143f57767c8f30ec2555/hexgrid-0.2.1.tar.gz" } ] }