Skip to content

katylava/pyfreecell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aside from updating this for python 3 in 2022, this repo is a 2012 time capsule. That said, I still use it.

Requirements:

  • Uses sqlite3 to store games played.

  • Color terminal that can handle utf-8 and bright backgrounds

      Usage: freecell.py [--test]
    
      Options:
       -h, --help            show this help message and exit
       -t, --test            Run doctests
       -d DB, --db=DB        Path to game history database
       -w WIDTH, --width=WIDTH
                             Card width
       -o OFFSET, --offset=OFFSET
                              The difference between the --width and the actual card
                              width when the suit symbols take up less room on
                              screen than their actual width. You will most likely
                              have to set this to 2.
    

In iTerm I run it like ./freecell.py -w 8 -o 2

Which font you use is very important for lining up the cards and making the suit symbols look nice. Some fonts that work well for me:

  • DejaVu Sans Mono
  • Chica Mono
  • Menlo
  • Monaco
  • NotCourierSans
  • Onuava
  • Phaisarn (standard only)
  • TeX Gyre Cursor
  • Verily Serif Mono

YMMV

start screen game play show command

About

command-line freecell, written in python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages