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

178 commits

Author SHA1 Message Date
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
Shlomi Fish
c71c2fa07a Fix the 'picturegallery' game.
See https://github.com/shlomif/PySolFC/issues/140 . Thanks to
@scottfurry for testing.
2019-08-07 12:28:29 +03:00
Shlomi Fish
602f9ebc93 add missing attribute.
See https://github.com/shlomif/PySolFC/issues/129 .
2019-07-26 00:04:07 +03:00
Shlomi Fish
4a53c175f5 Extract ms_rearrange . 2019-06-05 15:00:12 +03:00
Shlomi Fish
2bec58be2d Fix next deal / Ctrl+N for ms deals. 2019-05-23 19:10:57 +03:00
Shlomi Fish
d3b1674a47 Fix spider illegal moves canMove bug.
See https://sourceforge.net/p/pysolfc/bugs/36/ . TODO: add tests.
2019-02-19 19:45:51 +02:00
Shlomi Fish
204bc6b5fa optimize travis.yml 2019-01-26 19:53:49 +02: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
5e10f11ca5 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.
2018-12-06 23:49:44 +02:00
Shlomi Fish
2b2d23f958 Extract a method or a function.
This is Refactoring / code cleanup.

See:

* https://refactoring.com/catalog/extractMethod.html

* 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.
2018-12-06 23:41:49 +02:00
Shlomi Fish
c0076b5b36 Better fix for SourceForge bug #31.
See https://sourceforge.net/p/pysolfc/bugs/31/ . Thanks to Caelia Renee
Chapin for the fix and to Kevin Knerr for the report. Test case by
@shlomif.
2018-12-06 19:26:20 +02:00
Shlomi Fish
5febb53706 Extract a common module/library/header.
This is Refactoring / code cleanup.

See:

* https://refactoring.com/catalog/extractMethod.html

* 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.
2018-10-09 13:08:45 +03:00
Shlomi Fish
b142366595 Fix exception in the Wasp variant.
See https://sourceforge.net/p/pysolfc/bugs/31/ .

unable to move cards in py3.
2018-10-08 23:19:59 +03:00
Shlomi Fish
5266f33b73 Rename to a better filename. 2018-07-23 19:19:25 +03:00
Shlomi Fish
895bedff00 remove already autogenerated boilerplate.
It was no longer used or needed.
2018-07-23 19:10:28 +03:00
Shlomi Fish
a8f297208b Refactoring: generate dup code. 2018-05-12 20:45:21 +03:00
Shlomi Fish
f630539e88 gracefully handle import. 2018-05-11 14:29:46 +03:00
Shlomi Fish
a9e23ae7de Refactor - extract a method. 2018-05-11 13:54:15 +03:00
Shlomi Fish
05f3e3027f Convert to an exception object.
To avoid getting wedged.
2018-05-11 13:40:13 +03:00
Shlomi Fish
93f88ba514 Convert to the CPAN distro.
See https://metacpan.org/release/Code-TidyAll-Plugin-Flake8 .
2018-05-10 17:07:02 +03:00
Shlomi Fish
0a05c3c9cf Speedup the test suite by tidyall caching.
Of flake8. TODO: put on CPAN.
2018-05-08 00:28:58 +03:00
Shlomi Fish
4b75005b28 Start adding support for handling parse errs.
in the importFile feature. Still does not work fully.
2018-05-07 23:29:14 +03:00
Shlomi Fish
9eab5fe6bf support utf8 bom import. 2018-05-02 20:18:01 +03:00
Shlomi Fish
9ddaa7e110 Refactor. 2018-05-01 18:22:15 +03:00
Shlomi Fish
724b6f8688 rename better. 2018-05-01 18:12:35 +03:00
Shlomi Fish
6db30de668 remove unused 2018-05-01 18:08:15 +03:00
Shlomi Fish
2f114469b5 add py2 tests 2018-05-01 17:52:17 +03:00
Shlomi Fish
6304994ed4 add py2 tests 2018-05-01 17:45:37 +03:00
Shlomi Fish
6ec197daaf Add py2 tests. 2018-05-01 17:36:41 +03:00
Shlomi Fish
7860f47363 generate some duplicate code. 2018-05-01 17:28:02 +03:00
Shlomi Fish
665985ec6d Add python2 tests. 2018-05-01 17:09:12 +03:00
Shlomi Fish
46fafaef58 Add another test. 2018-05-01 16:58:58 +03:00
Shlomi Fish
b9b65edcb9 Add a test. 2018-05-01 16:52:22 +03:00
Shlomi Fish
d0b352142b start writing tests for importFile. 2018-05-01 16:35:09 +03:00
Shlomi Fish
39cd81d663 Refactor/optimize: get rid of TAP.Simple.
It was underused and unneeded.
2018-04-15 17:41:09 +03:00
Shlomi Fish
53bc1fb8eb meaningul test blurb. 2018-03-24 23:04:07 +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
85eedc6186 flake8 - empty whitelist. 2018-03-21 10:45:12 +02:00
Shlomi Fish
620b2676f4 flake8 2018-03-21 10:45:12 +02:00
Shlomi Fish
055718d2e9 flake8 2018-03-21 10:45:12 +02:00
Shlomi Fish
1e8b1bfb1b flake8 2018-03-21 10:45:12 +02:00
Shlomi Fish
640f398e6b flake8 2018-03-21 10:45:12 +02:00
Shlomi Fish
16d8b00e7f flake8 2018-03-21 10:45:12 +02:00
Shlomi Fish
74d3a4d9db Passed mfxutil thru flake8.
See https://github.com/shlomif/PySolFC/issues/61#issuecomment-374283730
- thanks!
2018-03-21 10:45:12 +02:00
Shlomi Fish
a68546f7a2 convert to unittest.py. 2018-03-21 10:45:12 +02:00
Shlomi Fish
e9d04fcf4b Convert to unittest.py. 2018-03-19 16:54:13 +02:00
Shlomi Fish
3e9a071926 convert to unittest 2018-03-19 15:46:26 +02:00
Shlomi Fish
ca758a3a57 Add a test. 2018-03-19 14:11:15 +02:00