Skip to main content

A game as difficult as the Rubik’s cube

Project description

EnigmaGame

A game as difficult as the Rubik’s cube

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EnigmaGame-1.0.3.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

EnigmaGame-1.0.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

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

Hashes for EnigmaGame-1.0.3.tar.gz
Algorithm Hash digest
SHA256 85fa4f3d198031e51b07a4f87ea3214925e4a62df0ec7e41f49ebb49f47fd214
MD5 96d6152dcec5d3f3a256fde01cc9a9b8
BLAKE2b-256 20558667171bd1a2c941080bec3afb94edb929adc9a44963322cdc871285f331

See more details on using hashes here.

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

Hashes for EnigmaGame-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 37fa430fd20e1563e32469b190b1712d68843aaa3f73324dfa55047e84118073
MD5 b33e74233eadc793ec92957533741a58
BLAKE2b-256 f5c1ec846bddd151ab2b8aa6ab754e12021cd5c600ae23f94da749c6dd4b0ba0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page