Joe R
5aa9071893
Improved playable preview display for large monitors and when working with high resolution cardsets.
2021-06-20 15:45:39 -04:00
Joe R
dcd12cd66a
Added additional multi-deck game variations.
2021-06-20 13:41:31 -04:00
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
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
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
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
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
cardset
c6811cca29
Info/Settings Sliders Moved
...
Moved Offset Sliders to the same place as Scale Sliders. I think that makes more sense in operation and overview. It also avoids that wrong values could be saved
2020-10-19 09:14:43 +02:00
Juhani Numminen
1c79d5437e
Refactor initCardsets
...
Make variable names descriptive.
Don't check for duplicate or empty strings in result of getSearchDirs() because
that is not necessary. Document those properties in a comment in resource.py.
Wrap try...except more closely around expressions where we want to catch.
2020-10-15 12:30:36 +03:00
Juhani Numminen
24ccdf634b
macOS: use "PySolFC Help" menuitem provided by tk
...
The details are explained in this tutorial
https://tkdocs.com/tutorial/menus.html
For this to work, init() must destroy the tkinter.Tk instance it creates
so that was uncommented.
2020-10-14 14:59:38 +03:00
Juhani Numminen
d3faa78e75
Prune pysollib.macosx; it no longer had any effect
2020-10-12 23:35:15 +03:00
Juhani Numminen
278b3261d9
Optimize cardsetparser
...
Apply the EAFP principle:
Regex matching was just doing extra the work because int() will check that
its argument is suitable in any case.
EAFP as in https://stackoverflow.com/questions/11360858/what-is-the-eafp-principle-in-python
2020-10-11 16:27:43 +03:00
Shlomi Fish
d145642a9b
Rename variables to make them more descriptive.
...
We used "lines_list" instead of "line" in singular. "list" is
the ADT ( https://en.wikipedia.org/wiki/Abstract_data_type )
rather than its python class.
2020-10-11 13:02:01 +03:00
Juhani Numminen
12601364dc
Invoke init_tile() only when tile is used
2020-10-10 21:23:35 +03:00
Juhani Numminen
0be465dea1
Add error message for a missing card back ( #185 )
2020-10-10 21:22:58 +03:00
Shlomi Fish
95a0d7d007
refactor/modernize the calls to open()
...
use "with", flags
2020-10-06 18:43:15 +03:00