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

64 commits

Author SHA1 Message Date
Shlomi Fish
39d59547af flake8 compliance 2020-09-07 11:20:53 +03:00
Shlomi Fish
b24da7cc92 Gracefully handle pypi pysol_cards dependency
See:
https://sourceforge.net/p/pysolfc/discussion/503708/thread/208461caee/

Thanks to Fred.
2020-08-27 12:04:42 +03:00
Shlomi Fish
3de9955879 try2fix flake 8 tests [travis/etc.] 2020-06-17 20:53:11 +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
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
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
Shlomi Fish
d7c87ca066 move functionality to pysol-cards PyPI module 2019-12-10 12:14:31 +02:00
Shlomi Fish
15365f6267 moved functionality to pysol-cards.py 2019-08-08 18:44:49 +03:00
Juhani Numminen
836eb54008 Add an error message to pysol_cards version check 2019-08-06 20:07:30 +03:00
Shlomi Fish
fd5bf10ddd moved functionality to pysol-cards.py 2019-08-04 18:47:19 +03:00
Shlomi Fish
6b228291cc update to latest pypi ver 2019-07-30 12:36:31 +03:00
Shlomi Fish
fb4f801ecc minimal ver of pysol_cards.
See https://github.com/shlomif/PySolFC/issues/128 .
2019-07-25 20:04:36 +03:00
Shlomi Fish
e1d461b78d moved functionality to pysol-cards.py 2019-07-24 02:35:54 +03:00
Shlomi Fish
198038b1c9 moved functionality to pysol-cards.py 2019-07-21 11:27:58 +03:00
Shlomi Fish
dba230b40a moved functionality to pysol-cards.py 2019-07-18 21:35:45 +03:00
Shlomi Fish
fd797ffbf5 fix pysol --deal 1/24/1000.
Low ms deals without the ms prefix caused an error.
2019-06-05 15:06:51 +03:00
Shlomi Fish
86d2e6368f speedup.
See https://github.com/shlomif/PySolFC/issues/119 .
2019-06-04 22:31:27 +03:00
Shlomi Fish
2bec58be2d Fix next deal / Ctrl+N for ms deals. 2019-05-23 19:10:57 +03:00
Shlomi Fish
74441a1746 Convert functionality to pysol-cards mod. 2019-05-23 17:26:27 +03:00
Shlomi Fish
ed18fd8156 Order imports based on flake8-import-order.
Tested on ci. See https://github.com/PyCQA/flake8-import-order . In the
process did some other cleanups and
https://en.wikipedia.org/wiki/Code_refactoring .
2019-01-11 23:55:06 +02:00
Shlomi Fish
ead4b9212a avoid unneeded py3 shims. 2018-09-01 17:54:48 +03:00
Shlomi Fish
dc8adf8411 Display the deal of imported as 'Custom'.
See https://github.com/shlomif/PySolFC/issues/47 .
2018-05-13 23:18:28 +03:00
Shlomi Fish
94cbbfafbf Fix a bug with restart of ms-deals.
.reset() in LCRandom31 was not implemented. A test was added.

Thanks to Don.
2018-03-24 23:04:07 +03:00
Shlomi Fish
87ebf11996 Help people find random2.py.
To avoid support questions.
2018-03-14 12:12:44 +02:00
Shlomi Fish
b87e8dd5a8 Initial work for issue #47 .
Define a custom deal index.
2017-12-18 16:41:11 +02:00
Shlomi Fish
0515a01a02 Fix a random dealing regression in py3.
We had to use the random2 module. That was caught by appveyor - thanks!
2017-12-10 17:46:58 +02:00
Shlomi Fish
aa4f9ee5da Crude code to get some func running in py3.
Right now klondike and freecell sort of work, but this is very hacky and
there are many leftover debug traces.
2017-08-25 18:25:58 +03:00
Shlomi Fish
fc90baffa7 flake8. 2017-04-19 12:03:44 +03:00
Shlomi Fish
99ef711af1 Change the licenses headers to please flake8. 2017-04-19 12:03:44 +03:00
Shlomi Fish
53fa3e715f Allow to save and restore ms[0-9]+ deals. 2016-11-09 21:25:41 +02:00
Shlomi Fish
d068f93d16 implement str2long and long2str.
With a unit test.
2016-11-09 20:10:09 +02:00
Shlomi Fish
1ff90e1641 Correct a regex.
\d can match more than just [0-9].
2016-11-09 19:37:30 +02:00
Shlomi Fish
95dd1e40b4 Implement > 2e9 ms/FC-Pro deals.
Larger than 2 milliard Freecell Pro deals in PySolFC - with a test.
2016-11-08 16:08:31 +02:00
Shlomi Fish
d53e708a38 Correct some typos. 2014-11-06 14:19:06 +02:00
Shlomi Fish
5a10318ede Add display and remember for ms[0-9]+ deals.
This causes them to display in the status bar and also to be remembered
when you choose a new deal.
2012-12-12 21:30:32 +02:00