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

47 commits

Author SHA1 Message Date
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
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
b887d6042b Made flake8 happier.
Removed __all__ and stuff - we use explicit imports now.
2017-09-18 13:04:53 +03:00
Shlomi Fish
dbdd0f392c division sanity 2017-08-25 18:25:58 +03:00
Shlomi Fish
ee82f9c6e8 2to3 on pysollib/games/[a-s]*.py 2017-05-17 21:37:28 +03:00
Shlomi Fish
a32fc12218 flake8 - games/s* 2017-04-19 12:03:45 +03:00
Shlomi Fish
99ef711af1 Change the licenses headers to please flake8. 2017-04-19 12:03:44 +03:00
Shlomi Fish
4da89ccc8c Get rid of trailing space. 2013-05-22 12:57:18 +03: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
2f22c2f528 + save aspect for background image
* minor fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@250 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-08-13 22:23:38 +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
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
0ef9bf474f * refactored menubar and toolbar imports
* refactored pysolrandom.py; added WHRandom generator
* bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@215 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-12-28 08:38:51 +00:00
skomoroh
b4b338706e + 2 new games
* fixed MANIFEST.in: added AUTHORS, setup_osx.py


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@214 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-10-08 21:20:23 +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
ebb552c135 + 2 new games
+ new Layout method: createRoundText
+ added showing `Round #' for many games
* minor improvement of SelectTileDialogWithPreview
* improved `select random game'
* fixed setting bg image


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@193 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-15 21:44:20 +00:00
skomoroh
f6c646d1a5 * fixed using non-ascii filenames for background images
* refactoring: move getBottomImage to Stack as _get*BottomImage
* bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@191 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-08-11 21:20:05 +00:00
skomoroh
93e96d71db * refactoring: sound=0' -> sound=False' ...
* fixed loading options
* fixed some games


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@189 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-31 21:31:52 +00:00
skomoroh
6bb2e86dc9 + 7 new games
* improved startup; progressbar has been shown before load/register games
* improved gettext; game names has been translated during registration
* updated russian translation



git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@185 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-07-20 22:15:07 +00:00
skomoroh
f24301fb85 + 6 new games
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@154 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-03-18 22:28:31 +00:00
skomoroh
5175caf86a + separated demo-mode and solver; solver dialog
+ added statistics progression; statistics progression dialog
+ new animation speed: `medium'; renamed `timer based' to `fast'
+ added flip animation (animatedFlip)
+ added move to waste animation (animatedFlipAndMove)
+ added cancel-drag animation (moveCardsBackHandler)
* improved demo game (snapshots based check for loop)
- removed setting text color from file name
- removed auto generation shadows (too slow)
* optimized menu creation
* changed some keybindings
* updated russian translation
* many bugfixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@138 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-16 23:20:02 +00:00
skomoroh
986b4c9184 + 2 new games
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@104 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-05 22:21:43 +00:00
skomoroh
86aecf019a * bugs fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@74 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-09-29 23:27:02 +00:00
skomoroh
25ed80f8c3 + 1 new game
+ new stacks: DealRowRedealTalonStack and DealReserveRedealTalonStack
++ support GTK started


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@46 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-13 21:10:55 +00:00
skomoroh
d7ec0c66ba + 6 new games
* misc. improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@45 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-12 21:15:56 +00:00
skomoroh
7447bd7a64 + 5 new games
- pysollib/acard.py, pysollib/tk/card.py - removed support of old version tk
* misc. improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@44 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-11 21:09:32 +00:00
skomoroh
175410e2d0 + new option: `shrink face down'
* changed talon/waste text anchor: `ss' -> `s', `nn' -> `n'
* fixed support python 2.2 and tk 8.3


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@43 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-10 21:19:27 +00:00
skomoroh
2632de3eab + 3 new games
* move poker.py to pysollib/games/special
* improved menubar
* updated translation


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@42 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-09 22:03:46 +00:00
skomoroh
c1fb4f75b0 + 12 new games
* improved tkhtml


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@40 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-06 21:34:57 +00:00
skomoroh
84b710bb51 + 6 new games
* improved findcarddialog
+ new command-line options: `--game' & `--gameid'


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@37 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-03 21:23:05 +00:00
skomoroh
61000c9956 + 7 new games
+ new file: pysollib/tk/findcarddialog.py
+ new option: `use mouse for undo/redo'
* improved Game._highlightCards
* added flash to FindCardDialog


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@34 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-31 21:35:39 +00:00
skomoroh
8283cc8f02 + 3 new games
+ bind undo/redo to mouse click on background
+ `find card' dialog (unfinished)


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@32 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-30 21:14:39 +00:00
skomoroh
ee2f01fa63 + 11 new games
* improved StackDesc
* improved CautiousDefaultHint


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@30 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-28 21:12:37 +00:00
skomoroh
3814cf1cd4 + 6 new games
+ new action: `show descript. of piles'; new class: StackDesc
* Stack.getHelp: rename `Row' -> `Tableau'
* misc. improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@29 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-27 21:25:30 +00:00
skomoroh
8e2cc715a9 + new file pysollib/games/grandduchess.py
+ 7 new games
* misc. improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@28 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-26 21:10:13 +00:00
skomoroh
082c64597a + 6 new games
+ new tk util `_getHelpText'


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@27 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-25 21:13:43 +00:00
skomoroh
d5eec559cf * improved Layout
* small bug fixes


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@23 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-21 21:04:39 +00:00
skomoroh
52ef64302b + 4 new games
+ added `close stack' (Game.closeStackMove, Stack.closeStackMove, ACloseStackMove)
+ option `shade_filled_stacks'
+ new stack RedealTalonStack and new Game method redealCards
* added closeStackMove to PileOn and PictureGallery (used flipAllMove)


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@21 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-19 21:17:01 +00:00
skomoroh
40b0b1d19b + 3 new game
* fixed game `Matrimony'
* improved toolbar


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@18 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-10 21:20:35 +00:00
skomoroh
66dde71fac + 1 new game
* small improvements


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@17 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-07-08 21:25:35 +00:00
skomoroh
b8051831be + 2 new game
* fixed rules for `frog', `fly' and `house in the wood'
+ update russian translation


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@15 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-27 21:14:20 +00:00
skomoroh
9bb2ed1b27 + 1 new game
+ new layout attribute: TEXT_HEIGHT


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@13 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-23 21:31:40 +00:00
skomoroh
49adfd3513 + new selection type: `by skill level'
+ new experimental options: `randomize_place'
* added columnbreak to favorites menu


git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@11 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-21 21:27:05 +00:00
skomoroh
bce72a93fa + 3 new games
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@10 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-19 21:08:25 +00:00
skomoroh
44e8f8c417 + 37 new games
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@9 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-06-17 21:18:07 +00:00
skomoroh
df80ec1047 Initial import.
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@1 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-05-26 21:25:18 +00:00