Project

General

Profile

Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java @ 74b5e124

# Date Author Comment
74b5e124 02/21/2023 01:58 AM Leszek Koltunski

Correct Ivy's order of cubits.

786cb5f5 02/21/2023 01:48 AM Leszek Koltunski

Ivy Solver: implementations of getIndex() and getQuats() remain.

9283a268 02/20/2023 04:53 PM Leszek Koltunski

Constants for scrambling types.

1725b607 02/19/2023 11:54 PM Leszek Koltunski

Introduce ImplementedTablebasesList

d4b628bf 02/19/2023 06:38 PM Leszek Koltunski

Minor

3addecce 02/19/2023 06:37 PM Leszek Koltunski

Implement tablebase scrambling (untested)

ce7202ef 02/19/2023 12:19 PM Leszek Koltunski

Improve the tablebase code a bit

352b3356 02/19/2023 02:04 AM Leszek Koltunski

Read TB from file.

462911fd 02/19/2023 12:28 AM Leszek Koltunski

add ability to create tablebases.

7c1a110c 02/18/2023 12:25 PM Leszek Koltunski

Generic tablebase solver: prevent endless loops.

431ee33b 02/18/2023 12:21 PM Leszek Koltunski

Pyraminx Duo solver: packed DB works now.

bf5c802b 02/18/2023 02:22 AM Leszek Koltunski

Pyraminx Duo solver: improve unpacked DB. Packed still doesn't work.

3ee79c9c 02/18/2023 12:16 AM Leszek Koltunski

Pyraminx Duo solver: solutions (coming from unpacked DB recreated each time) seem to be working.

b4111717 02/17/2023 03:15 PM Leszek Koltunski

Pyraminx Duo solver: creation of unpacked DB should be working; at least it does create the correct number of each 'level' states in case of Pyraminx Duo (correct i.e. the same as given by Jaap)

a110ebe1 02/16/2023 02:53 PM Leszek Koltunski

Pyraminx Duo solver: initial code which creates the unpacked DB (does not work still)

b80072a5 02/15/2023 11:32 AM Leszek Koltunski

Progress with the Pyraminx Duo solver

51683301 02/13/2023 11:40 PM Leszek Koltunski

Minor

a1f8dc90 02/13/2023 06:39 PM Leszek Koltunski

Progress with PDuo solver

dc516e50 02/13/2023 05:30 PM Leszek Koltunski

Withdraw recent changes about the signatures.

2dffaf22 02/13/2023 03:32 PM Leszek Koltunski

- add the Pyraminx Duo solver to the list
- make the signature of an object independent of its location in the ObjectType enum

be95dbf5 02/11/2023 10:47 PM Leszek Koltunski

- fix for the newly introduced TwistyObjectSolved
- fix for the solvedQuats of the Trajber 4x4

5618c5a9 02/11/2023 06:39 PM Leszek Koltunski

separate the 'isSolved' part from TwistyObject

8f44228f 02/11/2023 12:26 AM Leszek Koltunski

Make the JSON reader capable of handling possible future 'BAN*_*' objects.

f7f29a62 02/10/2023 12:01 AM Leszek Koltunski

Increate number of Burr Cube scrambles to 487.

7bcd501d 02/09/2023 11:53 PM Leszek Koltunski

BAN5_4 and BAN6_4: fix creating their signatures (improper signatures --> wrong scrambling type 2!)

fbb13c60 02/09/2023 10:10 PM Leszek Koltunski

Burr Cube: tutorials, new jsons.

0469a642 02/09/2023 02:17 AM Leszek Koltunski

Minor

8b6dbb76 02/09/2023 01:52 AM Leszek Koltunski

Correct the mesh of the Burr Cube according to the versions in YT.
Scrambling doesn't work...

8bd3a60b 02/09/2023 01:36 AM Leszek Koltunski

Add Burr Cube (aka Wall Cube)

c73ea131 02/09/2023 12:19 AM Leszek Koltunski

Camouflage: new json (change complexity and num scrambles)

8c882fd1 02/09/2023 12:09 AM Leszek Koltunski

Camouflage: new mesh and json.

539b46ea 02/09/2023 12:04 AM Leszek Koltunski

Correct Camouflage's cubits (centers must be 1x1x1!) and add YTS' scrambling algorithms.

ed7a9bfb 02/06/2023 12:20 AM Leszek Koltunski

Correct Masterball's mesh so that its 'FAST' mode looks good.

605f319b 02/04/2023 11:27 PM Leszek Koltunski

Bugfixes for touch control - specifically for furious swiping and concurrect backing of moves.

621a672c 02/01/2023 10:47 PM Leszek Koltunski

Update P. Diamond's touchcontrol

37959420 02/01/2023 02:36 PM Leszek Koltunski

Some more debugging.

2e44531e 02/01/2023 02:29 PM Leszek Koltunski

Minor.

31ed545f 02/01/2023 02:22 PM Leszek Koltunski

Withdraw the last change.

bcdecc9f 01/31/2023 11:47 PM Leszek Koltunski

Make it impossible to addNewRotation() (i.e. the automatic rotations triggered from backMove, scrambleEffect etc) or beginNewRotation() (by swiping a finger) when we are currently finishing a previous rotation and haven't removed it yet.

92d6c2f1 01/31/2023 03:52 PM Leszek Koltunski

Minor.

2832c2fa 01/31/2023 02:45 PM Leszek Koltunski

Fix for a crasher.

731280f7 01/31/2023 01:10 PM Leszek Koltunski

Minor.

28bfa000 01/31/2023 10:38 AM Leszek Koltunski

Make it possible to (fully!) read version 6 JSONs - some users might have Pyraminx Duo v. 6 already downloaded!

00eed232 01/31/2023 01:20 AM Leszek Koltunski

Minor correction to the reporting of blocked rotations - now it is actually going to report correct rotation block time.

060b445e 01/30/2023 04:24 PM Leszek Koltunski

Unblock PreRender's scrambling & solving oonly AFTER we change screen to READ post-scrambling (otherwise it was possible to press the 'solve' button in the brief period between unblocking and switching screen because switching screen runs on the background UI thread)

36f6390b 01/30/2023 03:48 PM Leszek Koltunski

still return the right value in case of slow and fast scrambling.

a396a7e1 01/30/2023 03:40 PM Leszek Koltunski

calls to FastScramble and SlowScramble might fail (preRender is blocked). Return false then and if so, do not do anything in the app.

68823ce3 01/30/2023 03:09 PM Leszek Koltunski

Minor bugfix.

e8d8c12a 01/30/2023 02:49 PM Leszek Koltunski

Don't do slow scramblng if numScrambles>=50 - do a fast scramble instead.

d60a2399 01/30/2023 11:11 AM Leszek Koltunski

AI Cube: rename the icon.

51d14921 01/30/2023 11:09 AM Leszek Koltunski

Icon (and icon creation) for the Camouflage 3x3x3.

ca5bd228 01/30/2023 01:27 AM Leszek Koltunski

AI Cube: rename BAN5_3 to BAN5_4

6435ad6a 01/30/2023 12:56 AM Leszek Koltunski

AI Cube: even thicker stroke.

13f0338c 01/30/2023 12:40 AM Leszek Koltunski

AI Cube: thicker stroke.

b784bfe0 01/30/2023 12:34 AM Leszek Koltunski

AI Cube: scrambling algorithms.

6c39a268 01/29/2023 10:07 PM Leszek Koltunski

AI Cube: dmesh, jsons. Only scrambling now missing.

7d41fc84 01/29/2023 11:29 AM Leszek Koltunski

Beginnings of support for AI Cube.

1b5f9f0e 01/29/2023 10:37 AM Leszek Koltunski

Support for multi-step scrambling algorithms.

27a44b5e 01/29/2023 02:57 AM Leszek Koltunski

We need to support reading from earlier JSONs. Support v. 6 (partially - only the objects which do not have the new in v. 7 algorithms & edges - i.e. locally created bandaged cuboids)

9cb7d66f 01/29/2023 01:54 AM Leszek Koltunski

Fix a bug with level buttons in objects with less than 9 numScramble.

4e0baf7b 01/29/2023 12:56 AM Leszek Koltunski

Correct scramble tables for Starminx, P. Crystal, Kilominx, Megaminx, Master Kilominx & Gigaminx.

e649d99a 01/28/2023 11:55 PM Leszek Koltunski

Correct scramble tables for the Pyraminxes.

ea889ebf 01/28/2023 11:14 PM Leszek Koltunski

Correct scramble tables for the Rex and Void Cubes.

5abb9a18 01/28/2023 10:14 PM Leszek Koltunski

Correct scramble tables for the Pyraminx Duo and Pyraminx Diamond.

ad48cee7 01/28/2023 10:01 PM Leszek Koltunski

Correct scramble tables for the Crazy 2x2.

e8bf9b51 01/28/2023 09:52 PM Leszek Koltunski

Correct scramble tables for Redi, Dino4 and Dino6.

e9ec2e9d 01/28/2023 08:38 PM Leszek Koltunski

Bugfixes

27249eea 01/28/2023 06:10 PM Leszek Koltunski

Produce new JSONs files (version 7, with new scrambling method)

9ba7f3f6 01/28/2023 02:28 AM Leszek Koltunski

Move scrambling to a new model where there are spearete scrambling 'algorithms' and 'edges' of the scrambling graph.
Now each edge can contain a whole algorithm, i.e. a sequence of moves leading from state to state, which permits construction of scrambling for more complicated bandaged objects such as the AI cube....

10a842b0 01/25/2023 05:57 PM Leszek Koltunski

Progress with the Camouflage 3x3x3.
Now only proper scrambling remains.

f925d455 01/25/2023 05:01 PM Leszek Koltunski

Progress with the Camouflage 3x3x3.

e7569064 01/25/2023 01:00 AM Leszek Koltunski

Beginnings of support for the Camouflage 3x3x3.

53ca4624 01/24/2023 11:35 PM Leszek Koltunski

Preparation for Camouflage Cubes.

51262d81 01/24/2023 01:37 PM Leszek Koltunski

Fix touch-replacing colors of the stickers. Now correctly takes into account the shape of the sticker.

7c546131 01/24/2023 10:27 AM Leszek Koltunski

Remove the 'switchTouchControl' optimization which, with many different objects in the solver screen now, does not work any more.

f9337e48 01/23/2023 04:45 PM Leszek Koltunski

Progress with SolverScreen.

7205c655 01/22/2023 11:55 PM Leszek Koltunski

Some improvements to blocking, mostly to the names of variables.

6b301f56 01/21/2023 11:31 AM Leszek Koltunski

Finally fix the 'impossible records' bug!

Thanks for a bug report from Jacob Powell - if one, during scrambling, minimized the app and re-entered it, the UI lock got removed (by a call to 'unblockEverything' from RubikActivity's onResume) and one could then keep solving the object mid-scramble....

d85de775 01/20/2023 10:40 PM Leszek Koltunski

small improvement for the TwistyObject.

30bd2f96 01/19/2023 04:55 PM Leszek Koltunski

Move the control of object scaling out the objectlib.
Thee xact way the object is scaled needs to be decided in the app, as only the app knows that e.g. in the Rubik main screen, if it is a square, then obejct needs to be a bit smaller than in case of Config screen (if that one happens to be a square)

064b8a42 01/19/2023 11:09 AM Leszek Koltunski

Update 2 more tutorials that were dead.

6a8fb4ec 01/19/2023 02:11 AM Leszek Koltunski

Update 3 tutorials that were dead.

1f329dcc 01/17/2023 07:32 PM Leszek Koltunski

More debugging for the mysterious case of corrupted rotation quat (?)

f7e30f36 01/13/2023 12:25 PM Leszek Koltunski

Make it possible to decide about FastScramble duration fromo outside the ObjectControl.

7c82e1c6 01/12/2023 07:05 PM Leszek Koltunski

Fix for the issue that a resized object wasn't TouchControlled correctly in the Solver screen.
(mObjectRatio was set to incorrect instance of the TouchControl class)

5ea2d29e 01/11/2023 10:33 PM Leszek Koltunski

Additional debugging for one weird crash.

4e1f3a8e 01/11/2023 04:48 PM Leszek Koltunski

Additional debugging for one weird crash.

b88ef2f2 01/11/2023 04:25 PM Leszek Koltunski

Always prepare() TouchControlShapeChanging when we enter the Solver. Otherwise it could sometimes be prepared with some different object and would crash in touching the screen.

5f795839 01/10/2023 06:21 PM Leszek Koltunski

Pyraminx Diamond & Duo: meshes, jsons.

def7cee2 01/10/2023 05:34 PM Leszek Koltunski

New Pyraminx Diamond.

4cb302d5 01/09/2023 01:47 PM Leszek Koltunski

fix rounding corners of bandaged cuboids.

80fd07aa 01/09/2023 01:09 AM Leszek Koltunski

Bugfixes.

f8a992a9 01/08/2023 11:58 PM Leszek Koltunski

Bugfix for reading JSONs version 6.

8bb3e677 01/08/2023 10:14 PM Leszek Koltunski

Minor bugfixes for creating JSON files version 6 (with per-cubit lists of VertexEffects)

e50246a8 01/08/2023 07:01 PM Leszek Koltunski

corrections for rounding corners of bandaged cuboids.

ba8dbe0e 01/08/2023 05:48 PM Leszek Koltunski

corrections for rounding corners of kilo/megaminx.

84a17011 01/08/2023 03:36 AM Leszek Koltunski

Major change in JSOn file format:

replace the old (corners,centers) system with a list of VertexEffects which are applied to each cubit variant.

2806f152 01/05/2023 01:34 PM Leszek Koltunski

Make several objects built-in
oone fix for USE_IAP

958a6e81 01/03/2023 03:27 PM Leszek Koltunski

Very important bugfix for an issue which probably has been the reason for many mysterious behaviours in the past: the JsonReader class cannot be a singleton! Convert it into a normal 'instanced' class.
With it being a singleton there's a major issue: when we create a new TwistyObject from a JSON file (by, for example, going to PurchaseActivity) and then we come back to the old object (by, for example, going back to the main RubikActivity) - then the JsonReader inside the old object has read the new JSON file and thus many of the 'abstract' methods in the old TwistyObject (for example getShortName()) all of the sudden start returning new values!

32ec56ba 01/02/2023 02:05 PM Leszek Koltunski

Purchase Pane: buttons