Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / helpers @ 88a3e972

# Date Author Comment
88a3e972 10/01/2021 11:27 PM Leszek Koltunski

Move more code to objectlib.

3f7a4363 09/29/2021 04:07 PM Leszek Koltunski

Remove all files that have been separated into a new library 'objectlib'

bdbbb4c5 09/28/2021 11:47 PM Leszek Koltunski

Refactoring: split the 'objects' package into two, 'objects' and 'objectlib'.
The point: we're going to need to move the 'objectlib' stuff into its own library module, and that's because we're going to create a new app module which needs access to it.

4c49986e 09/14/2021 11:55 PM Leszek Koltunski

1) add missing call to BlockController.onPause() / onResume() to the Tutorial activity
2) rearrange BlockController's error reporting to make the case where the MessageSender thread has died separate
3) in such case, resurrect the thread
4) simplify and harden the EffectMessageSender

f5e7bb94 09/09/2021 11:56 PM Leszek Koltunski

Some more debugs for the case when the UI is blocked.

7ff38997 09/06/2021 10:10 PM Leszek Koltunski

Remove statics from the Cube classes.

cda32fc1 08/31/2021 06:12 PM Leszek Koltunski

Convert the Redi to the new scrambling paradigm.

6cf89a3e 08/31/2021 03:38 PM Leszek Koltunski

Introduce pseudorandom balancing into scrambling in case of the two Dinos (from now on, the more times a particular (ax,layer) combination has been chosen already in the scrambling sequence, the less likely it is to be chosen next).
Fix Dino6 - isSolved(). Sadly, it cannot be the geeneric function - it needs to be another special case.

8db55f55 08/30/2021 01:46 AM Leszek Koltunski

Preparation for unification of scrambling. Scrambling of all objects will be done by a generic funtion, only fed a certain data structure by the objects. The data structure is going to be the ScrambleStateGraph - a directed state graph of all states we can come across while scrambling....

ad7907b0 08/19/2021 11:28 PM Leszek Koltunski

Important step towards making the implementation of an individual puzzle code-free (i.e. data-only): move the 'MeshBase[] mMeshes' variable from the individual classes to the parent TwistyObject.

45f63f17 08/19/2021 10:44 PM Leszek Koltunski

Introduce ObjectShape - a class encapsulating a shape of a Cubit.
Make the Megaminx cubit creation a bit more standard.

47d98cd5 08/17/2021 05:30 PM Leszek Koltunski

Convert the Ivy corner cubit to the new, 'universal' cubit creation method.

This forces deep changes to 'createRoundSolid' and the underlying 'MeshPolygon' class to make them support arbitrary Polygon 'centers of face convexity'.

Reason: the faces of this cubit are concave and such default 'center of face convexity' (which by default used to be (0,0)) turned to lie outside the face - which produces strange visual artifacts.

9c06394a 08/08/2021 04:21 PM Leszek Koltunski

Standarize drawing stickers of a twisty puzzle. From now on, there's no 'sticker drawing' code in the individual classes, only some constants.

29bc084f 08/06/2021 01:48 PM Leszek Koltunski

Convert the last 'special' case, the Rex edge sticker, to the generic sticker mechanism.

b379d2d7 08/06/2021 11:06 AM Leszek Koltunski

New sticker mechanism: improvements for concave stickers.

e0613906 08/06/2021 01:27 AM Leszek Koltunski

Convert the Rex corner sticker to the new mechanism.

f1104ed9 08/06/2021 12:39 AM Leszek Koltunski

Remove debugging.

9ce78850 08/06/2021 12:38 AM Leszek Koltunski

Generalize FactorySticker - make it possible to draw stickers whose sides are curved.
Convert the Ivy to use this new functionality.

8fa39aa6 07/15/2021 11:26 PM Leszek Koltunski

Improve debugging in BlockController.

7aa4c349 07/09/2021 02:42 PM Leszek Koltunski

Progress with RubikControl.

b9d4aa3b 07/08/2021 01:58 PM Leszek Koltunski

Lots of changes :)

a84c3a25 07/07/2021 01:23 PM Leszek Koltunski

Make it impossible to launch more than one Tutorial screen at a time.

967b79dc 07/06/2021 12:33 PM Leszek Koltunski

Progress with RubikControl.

48acd7c6 07/04/2021 03:36 PM Leszek Koltunski

BlockController: Unblock after 3 seconds.

9d591756 06/30/2021 10:52 PM Leszek Koltunski

Fix the reddening the Lock icon.

809c3432 06/30/2021 06:05 PM Leszek Koltunski

Introduce a BlockController - a watchdog which makes sure the Touch and UI blocks do not take too long.
If it detecs a long block, it unblocks and reports the situation to Crashylytics.

9f006481 06/30/2021 02:17 PM Leszek Koltunski

Add a 'give up' dialog - if one made at least 10 moves when solving and presses a 'back' button, one needs to confirm.

1ae92052 06/30/2021 12:12 AM Leszek Koltunski

Always set the back move icon when we clear moves

cc88f2fa 06/29/2021 05:03 PM Leszek Koltunski

Give visual indication when dragging is locked.

146661ec 06/29/2021 04:34 PM Leszek Koltunski

Change the 'Cube Back' icon when there are no moves to back.

55e6be1d 06/29/2021 01:37 PM Leszek Koltunski

Abstract the part that controls the 'Locked' and 'Back Moves' buttons from the two activities: the main one and the tutorial one.
This code had been duplicated there.

c4f0dbce 06/03/2021 04:00 PM Leszek Koltunski

improvements for FactorySticker

77d3e4f6 05/23/2021 04:03 PM Leszek Koltunski

Switch Rubik Control off for the moment.

be56193c 04/20/2021 12:28 AM Leszek Koltunski

Move all the special cubit-creating code out of FactoryCubit and to the Object classes, and thus hopefully finish implementing the new cubit creating engine.

bb11be2a 04/19/2021 11:51 PM Leszek Koltunski

New cubit engine: finish converting Kilominx & Megaminx.

5e06e92f 04/19/2021 07:39 PM Leszek Koltunski

New cubit engine: convert Kiliminx & some Megaminx.

680469e6 04/16/2021 12:19 AM Leszek Koltunski

Convert the Redi Cube to the new engine.

728cff8b 04/15/2021 09:52 PM Leszek Koltunski

Convert the Helicopter face cubits to the new engine.

0919eba7 04/15/2021 05:29 PM Leszek Koltunski

Correct still one bug with collapsing stickers in teh new Cubit engine.
Convert the Helicopter corner cubits to the new engine.

7dc57f89 04/15/2021 01:16 AM Leszek Koltunski

Convert the Skewb.

b3c9061a 04/14/2021 11:59 PM Leszek Koltunski

New Cubit Engine: add adjustable centers.

596d62a4 04/14/2021 11:16 PM Leszek Koltunski

Convert the Dino and one of the Skewb's cubits to the new engine.

31cd7256 04/14/2021 10:09 PM Leszek Koltunski

Convert the second and third object, the Pyraminx and the Diamond, to the new Cubit-creating engine.

b1f2ccf5 04/14/2021 04:00 PM Leszek Koltunski

Convert the first object, the Cube, to the new Cubit-creating engine.

749ef882 04/14/2021 10:01 AM Leszek Koltunski

Move Factories to the 'helpers' package.

eaf87d1d 04/14/2021 09:51 AM Leszek Koltunski

Rename packages