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

192 commits

Author SHA1 Message Date
Shlomi Fish
52d37cfeae fix merged code 2020-05-06 15:13:08 +03:00
Shlomi Fish
c7a3907d25 add missing attribute.
See https://github.com/shlomif/PySolFC/issues/129 .
2020-05-06 15:13:08 +03:00
Shlomi Fish
8244d19e6e start writing the kpat emitter. 2020-05-06 15:13:05 +03:00
Shlomi Fish
9666c56a9f Python2 compatibility: travis rebuild for new pysol-cards 2020-05-06 15:11:25 +03:00
Shlomi Fish
6f591dd519 typo 2020-05-06 15:11:25 +03:00
Shlomi Fish
bce3354f3d move to upstream PyPI pysol_cards 2020-05-06 15:11:25 +03:00
Shlomi Fish
abc9c2c3aa move to upstream PyPI pysol_cards 2020-05-06 15:11:25 +03:00
Shlomi Fish
90d36213e8 move to upstream PyPI pysol_cards 2020-05-06 15:11:25 +03:00
Shlomi Fish
b90b3ed1e1 move to upstream PyPI pysol_cards 2020-05-06 15:11:25 +03:00
Shlomi Fish
72c2276f94 Fix the 'picturegallery' game.
See https://github.com/shlomif/PySolFC/issues/140 . Thanks to
@scottfurry for testing.
2020-02-09 11:39:39 +02:00
Shlomi Fish
f3d3517160 add missing attribute.
See https://github.com/shlomif/PySolFC/issues/129 .
2020-02-09 11:39:39 +02:00
Shlomi Fish
ae16134dce Extract ms_rearrange . 2020-02-09 11:39:38 +02:00
Shlomi Fish
7c841293bd add a test 2019-05-31 19:33:02 +03:00
Shlomi Fish
ec808f30e9 implement writeCard. 2019-05-31 19:33:02 +03:00
Shlomi Fish
a15dfe4773 start writing writeCard(). 2019-05-31 19:33:02 +03:00
Shlomi Fish
8a2e4d7a10 add a test 2019-05-31 19:33:02 +03:00
Shlomi Fish
494a52a04b rename 2019-05-31 19:33:02 +03:00
Shlomi Fish
aa1907a567 add the write tags methods. 2019-05-31 19:33:02 +03:00
Shlomi Fish
7a12c8b21f add writeEmptyTag. 2019-05-31 19:33:02 +03:00
Shlomi Fish
44413c9f0b start writing the kpat emitter. 2019-05-31 19:33:02 +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