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

1610 commits

Author SHA1 Message Date
Joe R
25f6818496 Fix for Flake8 validation error. 2021-06-14 22:24:53 -04:00
Joe R
080b0043e3 Updated compatible cardset check to run when selecting cardsets. 2021-06-13 19:08:14 -04:00
Joe R
040d546174 Added Aces and Kings game. 2021-06-13 11:35:01 -04:00
Joe R
4ea2c1aa95 Added additional missing game rules. 2021-06-11 13:09:44 -04:00
Joe R
655c293c80 Added additional Poker Square variants. 2021-06-11 09:12:23 -04:00
Joe R
c416d42a96 Removed deal animation from preview and combined game select options. 2021-06-08 21:54:15 -04:00
Joe R
5e3f55f04e Fixed rules for Exit. 2021-06-08 18:13:09 -04:00
Joe R
3d9d074cae Added short deck Montana variants. 2021-06-05 12:31:45 -04:00
Joe R
28c77b8a83 Improved organization of relaxed variants. 2021-06-01 23:55:36 -04:00
Joe R
412e3b43a7 Fix for conflict in random number sources when restarting loaded game. 2021-06-01 18:50:03 -04:00
Joe R
84617c5083 Added King's Secrets game. 2021-05-28 23:06:08 -04:00
Joe R
1025b5402b Minor wizard utility cleanup. 2021-05-23 15:38:04 -04:00
Shlomi Fish
ba735bf1a2 Try to fix issue #177 .
See: https://github.com/shlomif/PySolFC/issues/177 - custom game wizard
failure due to bytestring vs. unicode string. Thanks to @Neelix57 and
@Butterfly for the report and some investigation.
2021-05-23 14:02:48 -04:00
Joe R
98ba9b07dc Added Precedence game. 2021-05-22 11:35:36 -04:00
Joe R
866081f46d Bugfix in playable preview. 2021-05-16 23:43:49 -04:00
Joe R
72ff4f6079 Added option to center the game layout on the screen. 2021-05-16 11:13:50 -04:00
Joe R
0b27e6fd72 Added Beehive game. 2021-05-09 18:19:16 -04:00
Joe R
6d7073b067 Organized three peaks variations. 2021-05-09 09:58:26 -04:00
Joe R
fe9ad5a64f Fixed bug and added stack labels to Camelot game. 2021-05-05 19:44:46 -04:00
Joe R
09c23f21ad Added Autumn Leaves game. 2021-05-05 17:15:54 -04:00
Joe R
58a31f8abb Added enable/disable music option. 2021-05-03 23:33:19 -04:00
Joe R
344b637194 Added missing rules for about 20 games. 2021-05-02 15:54:08 -04:00
Joe R
323fd511cb Added four deck terrace variants. 2021-05-02 10:22:16 -04:00
Joe R
86ee7c9767 Added 8 foundation variation of Take Away/Eliminator. 2021-05-01 22:52:19 -04:00
Joe R
9a7bc59c8b Removed a leading space in the "Pyramid's Stones" alternate name that was throwing off the sorting. 2021-04-27 16:54:46 -04:00
Joe R
f7c28b5011 Added Uintah game. 2021-04-27 07:43:29 +03:00
Joe R
0e1ecd1c1e Enhanced higher resolution cardset support. 2021-04-25 13:46:53 -04:00
Shlomi Fish
7436b7193b 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.
2021-04-25 09:21:28 +03:00
Joe R
dba55c20fd Split spread stacks logic from auto-scale logic. 2021-04-25 08:51:04 +03:00
Joe R
c792b7ff77 Added Greater Wheel, a four-deck variation of Great Wheel. 2021-04-25 08:26:48 +03:00
Joe R
bc8fc2c5b0 Improved organization of the special games category. 2021-04-23 21:33:20 -04:00
Shlomi Fish
65dfcd62ac fix runtime startup bug. 2021-04-23 18:49:13 +03:00
Joe R
9fab5f8d1f Added Crossword game. 2021-04-23 18:37:20 +03:00
Shlomi Fish
0e7ad946a6 update 2021-04-17 08:14:52 +03:00
Juhani Numminen
dbe57dda67 fix osx travis error during create-dmg step
workaround for https://github.com/create-dmg/create-dmg/issues/72

Error message on travis:

Running AppleScript to make Finder stuff pretty: /usr/bin/osascript "/var/folders/z3/_825pg0s3jvf0hb_q8kzmg5h0000gn/T/createdmg.tmp.XXXXXXXXXX.jubvb1lu" "Install PySolFC"
/var/folders/z3/_825pg0s3jvf0hb_q8kzmg5h0000gn/T/createdmg.tmp.XXXXXXXXXX.jubvb1lu:394:406: execution error: Finder got an error: AppleEvent timed out. (-1712)
Failed running AppleScript
2021-01-22 15:47:29 +02:00
Juhani Numminen
0d0b39e4bc travis: config rewrite to have osx working again
Do not attempt to run python2 tests on osx.

Homebrew updating was taking a long time, causing timeouts.

Reduced the number of homebrew formulas to cut down install time.
Some of the removed ones are already provided in the osx image.

osx_image updated because only the newer ones work without
travis's homebrew addon flag 'update: true'
https://changelog.travis-ci.com/xcode-11-3-1-xcode-11-2-1-xcode-11-1-and-xcode11-images-updated-142286

Config updated with the help of live validator:
https://config.travis-ci.com/explore

Added sudo flag "-H" to "sudo pip*" as pip suggests.

Trying to make use of cached of $HOME/perl_modules.
2021-01-22 14:34:07 +02:00
Juhani Numminen
c60a8cb577 tidyall run-tests.pl with a newer version of tidyall 2021-01-22 14:08:34 +02:00
Joe R
f91817ee51 Added additional multi-deck variations of Golf and Forty Thieves. 2020-12-13 21:36:16 -05:00
Joe R
3b53d94305 Added Hit or Miss game. 2020-12-03 17:39:58 -05:00
Guillaumegaillard
5876134d11 Make auto_scale spread non-talon stacks on canvas
make card size, scale and canvas changes independent
check scale x after change cardset
2020-11-23 16:26:22 +02:00
cardset
93793c01db Again cardset-viewer
- changed the imports
- added shebang
- changed a lot of variable names because of pylint: doesn't conform to snake_case naming style
2020-11-12 10:05:14 +02:00
cardset
afe0e080c0 Update cardset_viewer.py
Nächster Versuch
2020-11-12 10:05:14 +02:00
cardset
d6e197f8c8 Update cardset_viewer.py
Rewritten
2020-11-12 10:05:14 +02:00
Juhani Numminen
69b0cc86ff Avoid errors when options.cfg has no data
In that case res==False which was not accounted for, resulting in
AttributeError: 'bool' object has no attribute 'items'.

Closes #193.
2020-11-06 18:10:44 +02:00
Shlomi Fish
bc1023dc14 add a get-up-and-running script
See: https://sourceforge.net/p/pysolfc/discussion/503709/thread/b37cd50f/
2020-11-02 14:23:28 +02:00
Shlomi Fish
94927cbbc0 add a get-up-and-running script
See: https://sourceforge.net/p/pysolfc/discussion/503709/thread/b37cd50f/
2020-11-02 14:21:24 +02:00
Juhani Numminen
b265b28502 Enhance icon sets (.ico and .icns)
* Extract size 16x16 and 32x32 PNG's from .icns
* Put a sharper version of 128x128 in .icns
* Pack multiple icon sizes into .ico
2020-10-20 17:11:18 +03:00
Juhani Numminen
372fcba9de Window icon: Sort by largest, otherwise macOS Dock presents ugly low-res icon 2020-10-20 16:54:25 +03:00
Shlomi Fish
7da41a93be Allow to swap the mouse keys using the ini file.
See: https://sourceforge.net/p/pysolfc/discussion/503708/thread/5d77434ff8/

" PySolFC / Discussion / Open Discussion: Any way to remap mouse buttons? "

We may not have covered all the affected calls to bind().
2020-10-19 18:18:13 +03:00
Shlomi Fish
934db8da3b cleanup the last commit
Merge an identical if/else and indent comments
2020-10-19 15:00:24 +03:00