A game as difficult as the Rubik’s cube
Project description
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.
Install
Via PyPi
$ pip install EnigmaGame
Usage
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 for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file EnigmaGame-1.0.3.tar.gz
.
File metadata
- Download URL: EnigmaGame-1.0.3.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85fa4f3d198031e51b07a4f87ea3214925e4a62df0ec7e41f49ebb49f47fd214 |
|
MD5 | 96d6152dcec5d3f3a256fde01cc9a9b8 |
|
BLAKE2b-256 | 20558667171bd1a2c941080bec3afb94edb929adc9a44963322cdc871285f331 |
File details
Details for the file EnigmaGame-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: EnigmaGame-1.0.3-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37fa430fd20e1563e32469b190b1712d68843aaa3f73324dfa55047e84118073 |
|
MD5 | b33e74233eadc793ec92957533741a58 |
|
BLAKE2b-256 | f5c1ec846bddd151ab2b8aa6ab754e12021cd5c600ae23f94da749c6dd4b0ba0 |