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

118 commits

Author SHA1 Message Date
Shlomi Fish
77a5b47e98 Refactoring - based on fc-solve. 2018-03-14 19:31:39 +02:00
Shlomi Fish
bc25ff5574 Refactoring: extract a closure. 2018-03-14 19:20:36 +02:00
Shlomi Fish
d49c0103f4 Refactoring 2018-03-13 15:46:24 +02:00
Shlomi Fish
48cd6abcd5 Refactoring 2018-03-13 15:18:36 +02:00
lb@lb520
b5ef9b6214 Added an alternate toolkit kivy (based on SDL2) that can be used instead of tk.
Added scripts to build an android app.
2018-03-03 20:37:56 +02:00
Roderik Ploszek
7dc12168a0 Fix typo in color hex code
Play mode in solver dialog now works.
2018-02-24 23:05:20 +01:00
Shlomi Fish
3ada0e3e0b Convert to six.moves. 2018-02-20 01:41:40 +02:00
Shlomi Fish
59d5006c63 Refactor some code. 2018-02-15 21:31:38 +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
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
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
de93df2de7 flake8 and other tests. 2017-09-18 16:37:02 +03:00
Shlomi Fish
86b243ad53 flake8 2017-09-18 15:37:05 +03:00
Shlomi Fish
dbdd0f392c division sanity 2017-08-25 18:25:58 +03:00
Shlomi Fish
8d9cb53ecc Fix cardset change and similar pickling problems
see https://github.com/shlomif/PySolFC/issues/41 .
2017-08-25 18:25:58 +03: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
890a948d8b Ran 2to3 on pysollib/[a-g]*.py 2017-04-27 21:13:32 +03:00
Shlomi Fish
1ec8cc8b27 flake8 checked g*.py. 2017-04-19 12:03:44 +03:00
Shlomi Fish
c1d7918c27 Fix some typos as reported by codespell.
Thanks to Jan for inspiring this.
2017-04-08 19:13:59 +03:00
Shlomi Fish
53fa3e715f Allow to save and restore ms[0-9]+ deals. 2016-11-09 21:25:41 +02:00
Shlomi Fish
cc09f7a5d6 Remove an assertion that did harm.
See https://github.com/shlomif/PySolFC/issues/12 .
2016-09-22 13:28:46 +03:00
Shlomi Fish
506a2814e5 Remove trailing space. 2013-04-15 18:53:17 +03: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
Shlomi Fish
55cc8995ae pysoltk. 2012-11-25 19:12:33 +02:00
Shlomi Fish
7ae1fa725d Test and convert "import help". 2012-11-25 19:01:26 +02:00
Shlomi Fish
ab9473fa95 pysollib.game. \o/ 2012-11-25 18:50:10 +02:00
Shlomi Fish
0a7b4f0924 Add pysollib.hint. 2012-11-25 18:30:38 +02:00
Shlomi Fish
61934914b1 import pysollib.pysolrandom.
Convert to an explicit namespace.
2012-11-25 18:21:41 +02:00
Shlomi Fish
88634d2a8b import stack. 2012-11-25 18:16:06 +02:00
Shlomi Fish
9252b4771b From pysollib.move. 2012-11-25 18:09:21 +02:00
Shlomi Fish
884a44ceb0 gamedb. 2012-11-25 18:07:40 +02:00
Shlomi Fish
308ede18ff Convert mfxutil and settings imports to pysollib 2012-11-25 17:05:22 +02:00
skomoroh
24c0b00c0d * scalable cards (req: PIL >= 1.1.7)
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@263 efabe8c0-fbe8-4139-b769-b5e6d273206e
2011-03-06 06:33:38 +00:00
skomoroh
67206a0aa8 * improved stacks bottom
* bug fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@246 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-08-05 16:46:12 +00:00
skomoroh
2744887cd4 * changed comments style
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@243 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-07-22 21:36:22 +00:00
skomoroh
b1a0780416 + added 'You Are Stuck' indicator
* minor fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@240 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-07-22 20:12:46 +00:00
skomoroh
dfe790a101 * changed GPL version to 3
* added config-file option sound_sample_buffer_size
* bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@234 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-06-12 09:32:43 +00:00
skomoroh
cc05937c71 + 1 new game
+ added Game.getInvisibleCoords method
* minor fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@213 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-10-03 21:19:01 +00:00
skomoroh
f86de9b176 * refactoring: replaced map(lambda...), filter(lambda...) to list comprehension (thanks to 2to3)
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@199 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-25 21:19:40 +00:00
skomoroh
4d4f6bfe41 * fixed games: Salic Law', Four by Four'
* minor bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@197 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-23 21:37:07 +00:00
skomoroh
7b9ed221f2 + new feature: squeeze stack if a card placed off-screen
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@196 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-21 21:30:13 +00:00
skomoroh
e25b3d8e2f * updated pot-files
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@195 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-19 21:54:38 +00:00
skomoroh
46a2191011 + added config-file option `translate_game_names'
+ added accelerator ctrl-x: `Hold and quit'
* fixed games `Matriarchy', `Grandfather', `Bristol', `Chessboard', Twenty, `Q.C.'
* improved MfxScrolledCanvas
* improved hint
* fixed SelectTileDialogWithPreview


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@194 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-18 21:19:52 +00:00