All Projects → shlomif → Pysolfc

shlomif / Pysolfc

Licence: gpl-3.0
A comprehensive, feature-rich, open source, and portable, collection of Solitaire games.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pysolfc

Terasology
Terasology - open source voxel world
Stars: ✭ 3,247 (+1008.19%)
Mutual labels:  hacktoberfest, game
Openlibrary
One webpage for every book ever published!
Stars: ✭ 3,311 (+1030.03%)
Mutual labels:  hacktoberfest, open-source
Massivedecks
A comedy party game for PC, mobile & chromecast.
Stars: ✭ 254 (-13.31%)
Mutual labels:  hacktoberfest, game
Zds Site
Cœur du projet technique de Zeste de Savoir
Stars: ✭ 236 (-19.45%)
Mutual labels:  hacktoberfest, open-source
Docker Mtgo
Docker image with ready-to-play MTGO (Magic Online) for Linux and macOS
Stars: ✭ 275 (-6.14%)
Mutual labels:  game, cards
Flingengine
A Vulkan game engine with a focus on data oriented design
Stars: ✭ 239 (-18.43%)
Mutual labels:  hacktoberfest, game
Megaglest Source
MegaGlest real-time strategy game engine (cross-platform, 3-d)
Stars: ✭ 259 (-11.6%)
Mutual labels:  game, open-source
Go
The most flexible Gutenberg-first WordPress theme built for go-getters everywhere.
Stars: ✭ 218 (-25.6%)
Mutual labels:  hacktoberfest, open-source
Fvid
fvid is a project that aims to encode any file as a video using 1-bit color images to survive compression algorithms for data retrieval.
Stars: ✭ 276 (-5.8%)
Mutual labels:  hacktoberfest, open-source
Base
Base environment for Red Eclipse and associated source files.
Stars: ✭ 273 (-6.83%)
Mutual labels:  hacktoberfest, game
Doc2pen
An open source project aimed at making your student life easier!
Stars: ✭ 226 (-22.87%)
Mutual labels:  hacktoberfest, open-source
Talk Android
📱😀 Video & audio calls through Nextcloud on Android
Stars: ✭ 282 (-3.75%)
Mutual labels:  hacktoberfest, open-source
Server
☁️ Nextcloud server, a safe home for all your data
Stars: ✭ 17,723 (+5948.81%)
Mutual labels:  hacktoberfest, open-source
Nothing
A simple platformer about nothing
Stars: ✭ 249 (-15.02%)
Mutual labels:  hacktoberfest, game
Wolvenkit
Mod editor/creator for RED Engine games. The point is to have an all in one tool for creating mods for the games made with the engine.
Stars: ✭ 218 (-25.6%)
Mutual labels:  hacktoberfest, game
Ja2 Stracciatella
The continuation of the venerable JA2-Stracciatella project.
Stars: ✭ 258 (-11.95%)
Mutual labels:  hacktoberfest, game
Destinationsol
Official continuation of Destination Sol, the great fun little arcade space shooter from http://sourceforge.net/projects/destinationsol/ Modules live at https://github.com/DestinationSol/
Stars: ✭ 214 (-26.96%)
Mutual labels:  hacktoberfest, game
Antimine Android
Antimine is an open source minesweeper-like puzzle game.
Stars: ✭ 218 (-25.6%)
Mutual labels:  hacktoberfest, game
Robusttoolbox
Client/Server Backend for Space Station 14
Stars: ✭ 259 (-11.6%)
Mutual labels:  hacktoberfest, game
Online
Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
Stars: ✭ 278 (-5.12%)
Mutual labels:  hacktoberfest, open-source

StretchView

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 http://pysolfc.sourceforge.net/ .

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.

  • Build Status AppVeyor Build status

Screenshots

Image

Requirements.

Installation.

We provide an installer for Windows (requires Windows XP SP3 or higher) as well as an Android package on F-droid.

For installation from source, see: http://www.python.org/doc/current/inst/

Running from source without installation.

You can run from the source directory:

python pysol.py

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-2.0.tar.bz2 # Needs to be downloaded from sourceforge
mkdir -p ~/.PySolFC
rmdir ~/.PySolFC/cardsets
ln -s "`pwd`/PySolFC-Cardsets-2.0" ~/.PySolFC/cardsets
python pysol.py

Note! If you are using a Debian derivative (e.g: Debian, Ubuntu, or Linu 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 prerequisites: six, random2 and pysol-cards

This is kind of stupid and maybe it can be fixed in the future, but for now:

pip install six
pip install random2
pip install pysol-cards

You may want to use your OS distribution package system instead, for example:

sudo apt-get install python-six
sudo apt-get install python-random2

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 (10.0 or later)

  • Features:

    • Sound support integrated.
    • Android apk build support.
  • Running from source without installation:

python pysol.py --kivy

Configuring Freecell Solver

If you want to use the solver, you should configure freecell-solver ( http://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.

Related repositories and links

Related:

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:

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!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].