From c5c5017a335208881e27fc8f72c1d0145a04622a Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 9 Jun 2024 12:43:49 +0200 Subject: Remvoed cube_fast_t and more. More cleaning up to do. --- TODO.txt | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index 99e71d5..86ffd22 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,25 +1,19 @@ Refactoring: remove cube_fast_t and add b32 format - x added b32 converter by piece (not tested, will be tested automatically) - x added piece functions (e.g. corner(cube, i)) - (would be more efficient to just convert the whole thing to arrays...) - - replace all usages of cube_t with cube_fast_t and piece functions - (this is mainly in cube_routines) - (fix tests in tandem with main code) - cubetofast fasttocube - zero and solved - solvedcube(void) - [cube.h] isconsistent, issolvable, issolved, equal, iserror - [cube.h] compose, inverse - [cube.h] applymoves, applytrans - [cube.h] readcube writecube - [cube.h] solve - - add b32 i/o format as default - - remove cube_t type - - rename cube_fast_t to cube_t + - fix all public functions in cube.h + and their implementations in cube_generic + - cube i/o format + move all formats other than b32 to convert.{c,h} + add tests for conversion + convert test files (?) + make b32 default + replace utils/*.c with a generic convert utility - if all public functions work with strings, always use return value as error code (solve already does this), and use string as buffer to print error +Transform with big table + - make static cube actually static (how?) + Solver - write a solver (how many tricks? some, but not all are needed) -- cgit v1.3