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

900 commits

Author SHA1 Message Date
Shlomi Fish
ca48ec221d Fix a crash in shisensho.
See https://github.com/shlomif/PySolFC/issues/54 . Thanks to @lufebe16
for the report and the fix.
2018-02-24 13:11:43 +02:00
Shlomi Fish
9ad8650dd3 refactoring 2018-02-20 01:52:24 +02:00
Shlomi Fish
3ada0e3e0b Convert to six.moves. 2018-02-20 01:41:40 +02:00
Shlomi Fish
afcf0b5c9d Convert to six.py 2018-02-19 19:39:17 +02:00
Shlomi Fish
b532c5bd22 Convert to six.py 2018-02-19 19:32:35 +02:00
Shlomi Fish
64720e8a97 Convert to six.py 2018-02-19 19:26:09 +02:00
Shlomi Fish
601bceb4da remove empty 2018-02-19 19:03:46 +02:00
Shlomi Fish
472c0f935a flake8 for htmllib2 2018-02-19 18:58:43 +02:00
Shlomi Fish
2c1228fc95 got flake8 to validate mahjongg1/2/3. 2018-02-19 18:51:02 +02:00
Shlomi Fish
00e2388753 Convert to six.py.
This avoids some clutter.
2018-02-19 17:35:21 +02:00
Roderik Ploszek
0b5298f948 Fix compatibility with python 2 tests
There are still tests that use python 2, which doesn't have html.parser. In that
case a correct name of the module is imported.
2018-02-19 13:31:16 +01:00
Roderik Ploszek
f18e8d0c0b Removed unused HTMLParser constructor argument 2018-02-18 17:58:44 +01:00
Roderik Ploszek
cacca44f72 Help html parser fix
Fixes problem with unformatted help text. Implements correct handling of tag
start and end as implemented in sgmllib from Python 2.
2018-02-18 17:34:09 +01:00
Roderik Ploszek
72ad11c9ee Python 3 sgmllib fix
sgmllib is deprecated in Python 3, it was replaced by html.parser
2018-02-18 17:28:25 +01:00
Shlomi Fish
c63bceab5e Refactoring. 2018-02-15 22:06:44 +02:00
Shlomi Fish
59d5006c63 Refactor some code. 2018-02-15 21:31:38 +02:00
Shlomi Fish
9879147ee0 convert. 2017-12-27 15:44:46 +02:00
Shlomi Fish
7d091f42ab Extract a method. 2017-12-27 15:36:33 +02:00
Shlomi Fish
788965a55a sanity check 2017-12-27 15:24:08 +02:00
Shlomi Fish
ed4f1ae516 sanity check 2017-12-27 15:16:42 +02:00
Shlomi Fish
76ba6f7d2b Refactoring 2017-12-27 14:58:37 +02:00
Shlomi Fish
780ac558d5 Refactoring 2017-12-27 14:45:32 +02:00
Shlomi Fish
00ded37a0e Extract more. 2017-12-27 14:31:41 +02:00
Shlomi Fish
ead021aca0 refactor. 2017-12-27 14:23:10 +02:00
Shlomi Fish
d500c84f85 Extract some common exprs. 2017-12-27 14:09:20 +02:00
Shlomi Fish
e477f4bcf1 clean up the board import. 2017-12-27 13:33:18 +02:00
Shlomi Fish
cb316a20fe Add more. 2017-12-19 13:49:15 +02:00
Shlomi Fish
ab98966d9c Remove debugging hard code. 2017-12-19 13:39:22 +02:00
Shlomi Fish
c158561593 Fix file save. 2017-12-18 22:40:57 +02:00
Shlomi Fish
2989880117 cleanups. 2017-12-18 22:02:01 +02:00
Shlomi Fish
a803849b35 Working now - import board.
Mostly at least.
2017-12-18 21:52:29 +02:00
Shlomi Fish
3fc989ae0a Start implementing board import.
See https://github.com/shlomif/PySolFC/issues/47 .
2017-12-18 20:47:10 +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
424bb6c622 Add the new solver preset. 2017-12-13 22:42:58 +02:00
Shlomi Fish
3eb4f71a8e - New version
this time with corrected  archive.
2017-12-13 21:24:45 +02:00
Shlomi Fish
9b5e6f0745 Bump version to 2.1.1. 2017-12-13 21:12:04 +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
c4a9833932 Downgraded the version to 2.1.0. 2017-11-15 23:39:32 +02:00
Shlomi Fish
f103cbdcf2 pre prerelease fixes.
Got make rpm to work again.
2017-11-15 23:27:03 +02:00
Shlomi Fish
76580b7a3f Extract a method. 2017-11-13 22:27:43 +02:00
Shlomi Fish
4ad3f0f889 Extract a base class/trait for some games. 2017-11-13 21:38:34 +02:00
Shlomi Fish
6cfd8d351e Extract more common methods. 2017-11-09 21:40:42 +02:00
Shlomi Fish
184d4e32db Extract method. 2017-11-09 21:24:35 +02:00
Shlomi Fish
4f2b28e017 Extract another method. 2017-11-09 19:20:41 +02:00
Shlomi Fish
4fc37276aa Extract _startDealNumRows(). Refactoring. 2017-11-09 19:06:59 +02:00
Shlomi Fish
aa72842042 Refactoring more into _dealNumRows. 2017-11-09 18:48:59 +02:00
Shlomi Fish
dd2f0ab0e1 Continue refactoring. 2017-11-09 18:41:41 +02:00
Shlomi Fish
1fda22efbe Start extracting _dealNumRows().
A common pattern in the code.
2017-11-09 18:07:15 +02:00
Shlomi Fish
38bfb88971 Made the new flake8 and travis happier.
Fix the warnings.
2017-11-04 20:15:52 +02:00
Shlomi Fish
5c85816641 Remember the solver's max iterations setting.
See https://github.com/shlomif/PySolFC/issues/38 .
2017-11-04 18:18:13 +02:00