EnigmaGame


NameEnigmaGame JSON
Version 1.0.3 PyPI version JSON
download
home_page
SummaryA game as difficult as the Rubik’s cube
upload_time2023-10-23 09:35:46
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License Copyright (c) 2018 Real Python Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords puzzle rubick turning game
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # EnigmaGame

*A game as difficult as the Rubik’s cube*

* **category**    Game, Program
* **version**     1.0.3
* **author**      Michael Hodel <info@adiuvaris.ch>
* **copyright**   2023 Michael Hodel - Adiuvaris
* **license**     http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)
* **link**        https://adiuvaris.ch
* **source**      https://github.com/adiuvaris/EnigmaGame


## Description

This puzzle was invented by Douglas A. Engel and it consists of two intersecting disks in a plastic holder.
This program is a computer version of this puzzle that I wrote in Python.


![image](https://github.com/adiuvaris/EnigmaGame/raw/master/EnigmaGame.png)


## Install

Via PyPi

``` bash
$ pip install EnigmaGame
```

## Usage

``` python
python -m EnigmaGame
```

Start a game and turn the upper and lower disk. The goal is to reset the pattern to the example in the right corner.

The rotations can be initiated with an intuitive mouse movement (or on a touch screen with a finger gesture). 
This requires a mouse click on the appropriate disk and then a mouse move while holding the mouse button pressed. 
When you release the mouse button, the rotation is executed. With a touch screen you can do that with the finger.
It is also possible to turn the disks with the left and right cursor keys. 
If you additionally hold the shift key the upper disk will be rotated.

On the screen you see the actual playing area. It consists of two circular disks that are intersecting each other. 
On each disk, there are six stones alternating with six bones. The stones look like overweight triangles, 
the bones as malnourished rectangles. Since the disks are intersecting, they share two stones and a bone. If a disk, 
let’s say the upper one, is rotated by 60 degrees, then one stone and one bone that had previously also belonged 
to the lower disk are replaced by a new stone and new bone.



## License

GNU LESSER GENERAL PUBLIC LICENSE. Please see [License File](LICENSE) for more information.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "EnigmaGame",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "Puzzle,Rubick,Turning,Game",
    "author": "",
    "author_email": "Michael Hodel <info@adiuvaris.ch>",
    "download_url": "https://files.pythonhosted.org/packages/20/55/8667171bd1a2c941080bec3afb94edb929adc9a44963322cdc871285f331/EnigmaGame-1.0.3.tar.gz",
    "platform": null,
    "description": "# EnigmaGame\r\n\r\n*A game as difficult as the Rubik\u2019s cube*\r\n\r\n* **category**    Game, Program\r\n* **version**     1.0.3\r\n* **author**      Michael Hodel <info@adiuvaris.ch>\r\n* **copyright**   2023 Michael Hodel - Adiuvaris\r\n* **license**     http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)\r\n* **link**        https://adiuvaris.ch\r\n* **source**      https://github.com/adiuvaris/EnigmaGame\r\n\r\n\r\n## Description\r\n\r\nThis puzzle was invented by Douglas A. Engel and it consists of two intersecting disks in a plastic holder.\r\nThis program is a computer version of this puzzle that I wrote in Python.\r\n\r\n\r\n![image](https://github.com/adiuvaris/EnigmaGame/raw/master/EnigmaGame.png)\r\n\r\n\r\n## Install\r\n\r\nVia PyPi\r\n\r\n``` bash\r\n$ pip install EnigmaGame\r\n```\r\n\r\n## Usage\r\n\r\n``` python\r\npython -m EnigmaGame\r\n```\r\n\r\nStart a game and turn the upper and lower disk. The goal is to reset the pattern to the example in the right corner.\r\n\r\nThe rotations can be initiated with an intuitive mouse movement (or on a touch screen with a finger gesture). \r\nThis requires a mouse click on the appropriate disk and then a mouse move while holding the mouse button pressed. \r\nWhen you release the mouse button, the rotation is executed. With a touch screen you can do that with the finger.\r\nIt is also possible to turn the disks with the left and right cursor keys. \r\nIf you additionally hold the shift key the upper disk will be rotated.\r\n\r\nOn the screen you see the actual playing area. It consists of two circular disks that are intersecting each other. \r\nOn each disk, there are six stones alternating with six bones. The stones look like overweight triangles, \r\nthe bones as malnourished rectangles. Since the disks are intersecting, they share two stones and a bone. If a disk, \r\nlet\u2019s say the upper one, is rotated by 60 degrees, then one stone and one bone that had previously also belonged \r\nto the lower disk are replaced by a new stone and new bone.\r\n\r\n\r\n\r\n## License\r\n\r\nGNU LESSER GENERAL PUBLIC LICENSE. Please see [License File](LICENSE) for more information.\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2018 Real Python  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "A game as difficult as the Rubik\u2019s cube",
    "version": "1.0.3",
    "project_urls": {
        "Homepage": "https://github.com/adiuvaris/EnigmaGame"
    },
    "split_keywords": [
        "puzzle",
        "rubick",
        "turning",
        "game"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5c1ec846bddd151ab2b8aa6ab754e12021cd5c600ae23f94da749c6dd4b0ba0",
                "md5": "b33e74233eadc793ec92957533741a58",
                "sha256": "37fa430fd20e1563e32469b190b1712d68843aaa3f73324dfa55047e84118073"
            },
            "downloads": -1,
            "filename": "EnigmaGame-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b33e74233eadc793ec92957533741a58",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 11064,
            "upload_time": "2023-10-23T09:35:44",
            "upload_time_iso_8601": "2023-10-23T09:35:44.890641Z",
            "url": "https://files.pythonhosted.org/packages/f5/c1/ec846bddd151ab2b8aa6ab754e12021cd5c600ae23f94da749c6dd4b0ba0/EnigmaGame-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "20558667171bd1a2c941080bec3afb94edb929adc9a44963322cdc871285f331",
                "md5": "96d6152dcec5d3f3a256fde01cc9a9b8",
                "sha256": "85fa4f3d198031e51b07a4f87ea3214925e4a62df0ec7e41f49ebb49f47fd214"
            },
            "downloads": -1,
            "filename": "EnigmaGame-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "96d6152dcec5d3f3a256fde01cc9a9b8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 11078,
            "upload_time": "2023-10-23T09:35:46",
            "upload_time_iso_8601": "2023-10-23T09:35:46.750306Z",
            "url": "https://files.pythonhosted.org/packages/20/55/8667171bd1a2c941080bec3afb94edb929adc9a44963322cdc871285f331/EnigmaGame-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-23 09:35:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adiuvaris",
    "github_project": "EnigmaGame",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "enigmagame"
}
        
Elapsed time: 0.15004s