Git Product home page Git Product logo

twistypuzzle's Introduction

TwistyPuzzle

Simulate a variety of twisty puzzles. As of this writing, the following puzzles are supported.

  • Bagua
  • Bauhinia Dodecahedron
  • Bubbloid 3x3x3
  • Bubbloid 4x4x5
  • Corner-turning Octahedron
  • Curvy-Copter
  • Curvy-Copter 3
  • Dogic
  • Face-turning Octahedron
  • Fisher Cube
  • Flower Box (Rex Cube)
  • Gem 6
  • Gem 8
  • Icosahedron Skewb
  • Master Pyraminx
  • Megaminx
  • Mixup Cube
  • Pyraminx
  • Rubik's 2x2x2
  • Rubik's 2x2x3
  • Rubik's 2x3x3
  • Rubik's 3x3x3
  • Skewb
  • Skewb Diamond
  • Skewb Ultimate
  • Square One

Installing

If you run Ubuntu Linux, or any flavor with snapd installed, you can install this program with the following command.

$ sudo snap install twistypuzzle

After determining that the program is a peice of crap, you can uninstall it similarly.

$ sudo snap remove twistypuzzle

Building

The project compiles on Linux and Windows. In either case, you'll need the following dependencies.

On Windows, use DevStudio and the related project files. On Linux, use scons. I'm not terribly happy with either build system, but they get the job done.

Snapping

The program is distributed as a snap. To create the snap, you'll find a snapcraft.yaml file in the Snap subfolder. You should just be able to issue the snapcraft command from within this folder to build the snap file. To test the snap file, issue the following command.

$ sudo snap install twisty*.snap --force-dangerous

Contributing

Ha! What a waste of time.

twistypuzzle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

twistypuzzle's Issues

Left mouse double click throws error

Using the snap from the beta channel on Ubuntu 16.10 when I double click the left mouse button on the cube I get pop-up errors such as:

(TwistyPuzzle:9135): Gtk-WARNING **: gtk_window_set_titlebar() called on a realized window
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
./src/gtk/window.cpp(4905): assert ""g_captureWindow"" failed in DoReleaseMouse(): can't release mouse - not captured
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

(TwistyPuzzle:9135): Gtk-WARNING **: gtk_window_set_titlebar() called on a realized window
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
./src/common/wincmn.cpp(3349): assert ""!wxMouseCapture::stack.empty()"" failed in ReleaseMouse(): Releasing mouse capture but capture stack empty?
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

It is possible to break the Square-1

You can play with the Square-1 for quite a bit without any problem, but somehow (I'm not sure how) it is possible to cut a large corner wedge in half, which is an illegal move. A repro for this bug would be nice.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.