Coder Social home page Coder Social logo

quickcell's Introduction

QuickCell

QuickCell is an implementation of the single-player card game FreeCell. QuickCell places the focus on the actual strategy of the game by automating tedious moves, requiring minimal input, and providing a highlighting system.

Demo

Features

  • Smart Highlighting: Cards that are needed to advance will be highlit for quick spotting.
  • Minimal Keystrokes: Moves are made with 2 to 3 keystrokes, do not require the enter key, and are easy to string together on a numpad.
  • Extended Automoving: A more aggressive but still safe-for-play system will automatically move cards to the foundations.
  • Distilled Display: The game state is presented as simply as possible to keep the focus on quick, strategic play.

Running

  • Linux
    1. Install python3, which comes with the curses library.
    2. Download or clone this repository.
    3. Move to the src/ directory.
    4. Run the program.
      • python3 quickcell.py to play a random deal
      • python3 quickcell.py 399677 to play, for example, game 399677 (this can be used to replay deals)
  • Windows
    • curses, a required library, is not present.
    • To play, you can use a Linux LiveCD/USB or virtual machine.
    • (This project may be overhauled to become OS-independent in the future.)

Author

This project was created by Brandon Simmons.

Thanks

Thank you Michael Keller for creating the FreeCell FAQ. The last question of section 2, about cards automatically moving home, was particularly helpful.

Thank you Dan Fletcher for writing the article Freecell PowerMoves Explained. The formula for determining the longest movable card sequence is implemented here.

quickcell's People

Contributors

simmsbra avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.