1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
Commit graph

1563 commits

Author SHA1 Message Date
Shlomi Fish
41c2633fcd update the solver iter and states counts. 2020-06-18 11:55:41 +03:00
Shlomi Fish
3de9955879 try2fix flake 8 tests [travis/etc.] 2020-06-17 20:53:11 +03:00
Shlomi Fish
db348ee91b trap import error better [fix] 2020-06-17 20:15:39 +03:00
Shlomi Fish
fcc55dfe56 refactoring: avoid underused vars 2020-06-17 20:11:54 +03:00
Shlomi Fish
697f15c9df convert to .format() 2020-06-17 14:22:39 +03:00
Shlomi Fish
d9efba4456 Refactoring / code cleanup.
See:

* https://en.wikipedia.org/wiki/Code_refactoring

* https://www.refactoring.com/

* https://www.joelonsoftware.com/2002/01/23/rub-a-dub-dub/

Some small optimisations may have slipped in as well.
2020-06-17 13:48:48 +03:00
Shlomi Fish
14d4c0c509 rename 2020-06-17 13:17:30 +03:00
Shlomi Fish
fa85fbdadd fix simple simon solver 2020-06-17 13:07:48 +03:00
Shlomi Fish
e49c3a153f rename and persist across invocations 2020-06-17 12:42:16 +03:00
Shlomi Fish
1ee67d9ca8 add not(use_lib) to fix subsequent solving 2020-06-17 11:50:12 +03:00
Shlomi Fish
c96d25d628 disable a debug print() call 2020-06-17 11:43:06 +03:00
Shlomi Fish
556ceed9a6 stringify "args" list 2020-06-17 10:21:02 +03:00
Shlomi Fish
2a04901a77 fix flake8 tests 2020-06-17 10:04:31 +03:00
Shlomi Fish
faf8341c5e fix cmd line args 2020-06-16 22:57:16 +03:00
Shlomi Fish
f998b53d79 fix ncards 2020-06-16 22:35:59 +03:00
Shlomi Fish
fee9f6e20e WiP support for using solvers' DLLs 2020-06-16 22:29:42 +03:00
Shlomi Fish
653e84b049 avoid duplicate code. 2020-06-16 10:34:05 +03:00
Shlomi Fish
d04601ad1c add a test for ScorpionTail_RowStack.
A similar bug was fixed in Scorpion_RowStack.
2020-06-16 10:34:05 +03:00
Shlomi Fish
730ecf775b Fix for ScorpionTail in python3.
It is hacky and there may be many similar bugs.

See https://github.com/shlomif/PySolFC/issues/164 .

It also needs tests.
2020-06-16 10:34:05 +03:00
Shlomi Fish
8e4ed1e157 Tentative fix for Scorpion Tail/etc. play.
See https://github.com/shlomif/PySolFC/issues/164

Thanks to @Arcorann. Needs tests.
2020-06-16 10:34:05 +03:00
Shlomi Fish
408a8fbb08 fix flake8 tests 2020-06-12 07:07:31 +03:00
Shlomi Fish
478fa82e86 fixed already 2020-05-29 15:31:40 +03:00
Shlomi Fish
7e6cf5694b remove unused and bad "tests" - see tests/ 2020-05-29 15:30:38 +03:00
Shlomi Fish
3653a51176 fix in pysol-cards.py now 2020-05-27 09:17:40 +03:00
Shlomi Fish
a219bdb29c temp fix for reset() in pysolfc/mtrandom deals.
See: https://github.com/shlomif/PySolFC/issues/163 . Thanks
to @RobertAJMarshall .
2020-05-27 09:10:25 +03:00
Robert Marshall
e43dcb207c Avoid an unexpected pause state around stats 2020-05-26 18:58:46 +01:00
Shlomi Fish
2437c702fd extract more code to pysol_cards 2020-05-26 18:56:14 +03:00
Shlomi Fish
467a0f14e0 remove an old comment 2020-05-25 15:06:39 +03:00
Shlomi Fish
88cdccea5b extract more code to pysol_cards 2020-05-25 14:51:49 +03:00
Shlomi Fish
7914c6e805 extract more code to pysol_cards 2020-05-25 14:50:45 +03:00
Shlomi Fish
3ef4b3c6dc extract more code to pysol_cards 2020-05-25 14:20:15 +03:00
Shlomi Fish
12cf1e507f Rename variable/s to make them more descriptive. 2020-05-25 14:06:08 +03:00
Shlomi Fish
b311ff83fd extract more code to pysol_cards 2020-05-25 13:47:16 +03:00
Shlomi Fish
a8fd45e2f8 extract more code to pysol_cards 2020-05-25 13:42:02 +03:00
Roderik Ploszek
068d72d634 test Windows version in the installer
Windows XP SP3 or higher is required
see issue #161
2020-05-25 11:30:25 +02:00
Shlomi Fish
b6f014f6e0 extract more code to pysol_cards 2020-05-25 12:15:49 +03:00
Shlomi Fish
c4545ab114 extract more code to pysol_cards 2020-05-25 11:49:15 +03:00
Shlomi Fish
3ca47be6e2 refactor: remove unused code 2020-05-25 11:26:05 +03:00
Shlomi Fish
bea4266889 refactor: clean up imports 2020-05-25 11:24:27 +03:00
Shlomi Fish
7896974496 refactor: remove unused code 2020-05-25 11:17:38 +03:00
Shlomi Fish
91ef2ca74e extract more code to pysol_cards 2020-05-24 22:13:09 +03:00
Robert Marshall
c5864cc0f6 Pause when showing stats
.. stats is modal so clock shouldn't be ticking
2020-05-09 16:37:20 +03:00
Shlomi Fish
0ac4339252 Require a minimal version of "attr".
See: https://github.com/shlomif/PySolFC/issues/159 . Thanks to
@radub7 for the report.
2020-04-22 20:21:10 +03:00
Shlomi Fish
39f181e087 Python2 compatibility: travis rebuild for new pysol-cards 2020-03-28 16:08:42 +03:00
Shlomi Fish
e615b64dfc typo 2020-03-28 15:22:22 +03:00
Shlomi Fish
f1aedee62c move to upstream PyPI pysol_cards 2020-03-28 14:57:17 +03:00
Shlomi Fish
4ee74a3e2a move to upstream PyPI pysol_cards 2020-03-28 14:55:09 +03:00
Shlomi Fish
5b80116b69 move to upstream PyPI pysol_cards 2020-03-28 14:39:00 +03:00
Shlomi Fish
7d55cd045c move to upstream PyPI pysol_cards 2020-03-28 14:34:12 +03:00
Juhani Numminen
e1a1a8d169 Retire pysol.xbm & .xpm & the unused code that uses them 2020-03-11 14:57:28 +02:00