PySol Fan Club edition
This is an open source and portable (Windows, Linux and Mac OS X) collection
of Card Solitaire/Patience games written in Python. Its homepage is
https://pysolfc.sourceforge.io/.
The maintenance branch of PySol FC on GitHub by Shlomi
Fish and by some other
people, has gained official status, ported the code to Python 3,
and implemented some other enhancements.
Call for Contributors
Shlomi Fish, who adopted PySol FC, and maintained
it for several years, has stepped down as its primary maintainer
due to the fact he no longer plays PySol, or other computer card games too
much and that it has been a time sink for him. (Also see
this Twitter discussion
). We are looking for other contributors and there are still
some large-scale features that
can be implemented.
Screenshots
Requirements.
-
Python (3.7 or later)
-
Tkinter (Tcl/Tk 8.4 or later)
-
For sound support (optional)
- PySol-Sound-Server fork: https://github.com/shlomif/pysol-sound-server (mp3, wav, tracker music)
- (or: ) PyGame: https://www.pygame.org/ (mp3, ogg, wav, midi, tracker music)
-
Other packages (optional):
- Pillow (Python Imaging Library): https://pillow.readthedocs.io/
- TTKThemes: https://ttkthemes.readthedocs.io/
- Freecell Solver: https://fc-solve.shlomifish.org/
- Black Hole Solitaire Solver
Installation.
We provide an installer for Windows
(requires Windows XP SP3 or higher) as well as an
Android package on F-droid.
Running from source without installation.
You can run from the source directory:
After following steps similar to these (on
Mageia Linux ):
Step 1 — install the dependencies
On Fedora you can do:
sudo dnf builddep PySolFC
On Mageia you can do:
sudo urpmi git make pygtk2 pygtk2.0-libglade gnome-python-canvas tkinter
On Debian / Ubuntu / etc. you can do:
sudo apt-get install cpanminus make perl python3-setuptools python3-tk
Step 2 — build PySol.
You can try running:
python3 scripts/linux-install.py
git clone https://github.com/shlomif/PySolFC.git
cd PySolFC
# Now make sure you have installed the dependencies.
gmake test
gmake rules
ln -s data/images images
tar -xvf PySolFC-Cardsets-3.0.tar.bz2 # Needs to be downloaded from sourceforge
mkdir -p ~/.PySolFC
rmdir ~/.PySolFC/cardsets
ln -s "`pwd`/PySolFC-Cardsets-3.0" ~/.PySolFC/cardsets
python pysol.py
Note! If you are using a Debian derivative (e.g: Debian, Ubuntu, or
Linux Mint) and you are getting an error of «No cardsets were found !!! Main
data directory is [insert dir here]
Please check your PySol installation.»,
then you likely installed the cardsets package which has removed some files
that are needed by pysol from source (without the debian modifications).
Please uninstall that package and use the cardsets archive from sourceforge.net
per the instructions above.
Installing from source and running in a python venv (virtual environment)
At the moment, this only works on POSIX (Linux, FreeBSD and similar) systems.
Windows and Mac users — you’ll need to chip in with a script for your system.
1 — Install build prerequisite: pysol-cards
This is kind of stupid and maybe it can be fixed in the future, but for now:
You may want to use your OS distribution package system instead, for example:
sudo apt-get install python3-pysol-cards
For Pillow compilation, libjpeg headers and libraries need to be available:
sudo apt-get install libjpeg-dev
2 — Clone the source from version control
git clone git://github.com/shlomif/PySolFC.git
cd PySolFC
3 — Create your virtual environment.
PKGTREE=/usr/local/packages/PySolFC # or whatever
export PKGTREE
mkdir -p "$PKGTREE"
( cd "$PKGTREE" && python -m venv ./env )
4 — Run the install script
./contrib/install-pysolfc.sh
5 — Put cardsets into place as above.
6 — Enjoy playing
"$PKGTREE"/env/bin/pysol.py
Alternate toolkit.
- Kivy
- Features:
- Sound support integrated.
- Android apk build support.
- Running from source without installation:
Android App
On the basis of Kivy an Android App is also available. You may build
your own using appropriate build instructions in README.android and
in Directory buildozer.
Some versions will also be published on F-droid.
Configuring Freecell Solver
If you want to use the solver, you should configure freecell-solver
( https://fc-solve.shlomifish.org/ ) by passing the following options
to its CMake-based build-system:
-DMAX_NUM_FREECELLS=8 -DMAX_NUM_STACKS=20 -DMAX_NUM_INITIAL_CARDS_IN_A_STACK=60
.
Install Extras.
-
Music
-
Copy some music files (in mp3 format for example) to ~/.PySolFC/music/
-
Original PySol music can be downloaded from:
https://sourceforge.net/projects/pysolfc/files/PySol-Music/ -
Cardsets
-
Copy cardsets to ~/.PySolFC/cardsets
-
Additional cardsets can be downloaded from the PySolFC project page:
https://sourceforge.net/projects/pysolfc/files/
Related repositories and links
- PySol-Sound-Server fork
- Sources for the PySolFC web site
- PySolFC Announcements Drafts
- PySolFC-Cardsets tarballs sources repo
- Extra mahjongg cardsets for PySolFC — originally for flowersol
- The old «pysol-music» distribution
Related:
- Freecell Solver
- Black Hole Solver
Other open source solitaires:
- solitaire.gg — web-based and written in Scala
- Solitairey — web-based written in JavaScript
- KPat — desktop-based for KDE.
- Aisleriot — desktop-based by the GNOME project with relatively limited functionality.
Screencasts:
- Black Hole solving
- Freecell solving using the qualified-seed-improved preset
Chat
To facilitate coordination about contributing to PySol, please join us for a
real time Internet chat on
the ##pysol chat room on
Freenode (note the double
octothorpe/hash-sign/pound-sign). We may set up
chat rooms on different services in the future.
In addition, we set up a
Google Group for discussing open source card games
which will also be used for discussing PySol. Feel free to subscribe or post!
hpjson
Harry Potter Trading Card Game card data in JSON format for developers to easily use in their projects.
UNO
Hooray! Card Game UNO!
deck
Go library that represents a playing cards, decks of cards and shoes of cards
GALGAGAME
GALGA: Multiplayer card game written in Haskell and Elm.
fc-solve
Freecell Solver — a C library for automatically solving Freecell and some other variants of card Solitaire
cards.py
Generate Print-and-Play cards for your board games
cards-over-lan
A Cards Against Humanity clone for LAN play. Works on desktop and mobile. Supports custom cards in multiple languages.
uno
UNO — Card Game with Java
slaytheweb
Slay the Web is a singleplayer, deck builder, roguelike card crawl game for the web based on Slay the Spire
triple-triad-godot
Re-implementation of Triple Triad from Final Fantasy VIII. Made with Godot 3
doppelkopf
A «Doppelkopf» card game — in your browser ♣️♠️♥️♦️
csol
A small collection of solitaire/patience games (Klondike, FreeCell, Spider, Yukon, etc.) to play in the terminal
arcomage-hd
Web-based, free and open source, remastered 3D clone of 3DO/NWC’s 2000 card game Arcomage. 13 languages. Desktop or mobile Android iOS. Online or offline PWA. Against AI or Multiplayer (w/o server). 🧝👾🃏 (ts+react+redux+rxjs, CSS-based anim, WebRTC)
dotacard
You are at FODA artwork repository. Play now for free
rise-of-legions
Rise of Legions is a hybrid of MOBA, tower defense and deckbuilding — with fast-paced, easy-to-pickup tug-of-war strategy. Play solo or bring a friend for co-op or 2v2, collect cards, build your deck and crush your enemies.
card-game
Card game created in unity. Tribute to Astral Tournament.
CardGame
Unity prototype of a gambling card game DouDizhu
tjmj
网页的天津麻将,从 GoogleCode 导入,不活跃
uno-online
Two player online game of UNO. Made using React and Socket.IO
deerportal
Full of the diamonds 💎 board game driven by a 🦌 Deer 🦌 god and classical elements 🔥 💦 💨 🌍
Games, Software,
Card Games
A card game is a game that uses playing cards as the main way the game is played. The cards can be a standard deck of 52 French playing cards with 4 suits of Spades, Hearts, Diamonds, and Clubs. Or the cards can be game-specific. There is a plethora of card games available, with families of related games.
Card games offer many positive attributes. They can improve mental skills, memory and logic. They can test your patience, help you focus, and are popular for all ages. Having a good memory is essential to a person’s overall well-being. A good way to improve memory is playing fun games. Whether it’s a board game or a deck of cards, putting your brain to work definitely has its advantages. The earlier a person who has a poor working memory can begin to strengthen it, the more successful they’ll be in life.
Many of the biggest computer games concentrate on explosion-filled genres. But there’s still strong demand for good quality card games. It’s a neglected genre in the mainstream. Here are our picks of the best card games. We only advocate open source games here. And we give preference to games that run on multiple operating systems.
CARD GAMES |
|
---|---|
Magarena | Rules are based on the first modern collectible card game, Magic: The Gathering. |
PokerTH | Texas hold’em poker game |
XMage | Play Magic against one or more online players or computer opponents |
PySolFC | Collection of more than 1000 Solitaire Card Games |
Games are not listed by any sort of ranking. They are all worth downloading and free in every sense.
Click to rate this software
Tags: Blackjack, Bridge, Crazy Eights, Gun rummy, Patience, Poker, Rummy
About The Author
Steve Emms
Steve Emms is the main author of OSSBlog.org. This site aims to promote open source software and hardware. Steve has written thousands of articles about open source software. He is also the creator of LinuxLinks.com.
The code and artwork are both now accessible as open source and are free to use in other projects.
Before finally shutting down permanently back in 2020, it appears as though Duelyst spent some time trying to develop a successful business model. Despite the fact that the actual repository was made available via GitHub a few months ago, Counterplay Games announced the change in this video. Since the project is distributed under a Creative Commons Zero licence, both private and commercial use of all the components is permitted. You might use the Duelyst sprite art into your own game or create something altogether new on top of the current codebase.
If you saw the news a few weeks ago that Duelyst 2 is now available on Steam, that may add to the confusion. With ambitions to add to and modify the game, Duelyst 2, created by a different business named Dream Sloth Games, is essentially a re-release of the original Duelyst. This type of project is made possible via open source, albeit it is unclear whether Dream Sloth obtained a separate licence from Counterplay to create it.
By making the project open source, it will be possible for some of its components to continue to exist, even if only as a tool for other developers to understand how it was created. (Counterplay later produced the action role-playing game Godfall, which Alice favoured for very different reasons.)