Coder Social home page Coder Social logo

freecell's Introduction

Freecell

Yet another implementation of the legendary total information solitaire. Play patience like it's 1991, complete with sights and sounds.

game

Build

This game uses ggez so on Linux you'll want to install libasound2, libudev and pkg-config with something like:

apt install libasound2-dev libudev-dev pkg-config

then you should be able to simply:

cargo run

There also is a nix flake available.

Play

The goal of the game is to move the four aces, as they appear, to the foundations (the four slots in the top left), and build each up in suit from ace to king (A-2-3-4-5-6-7-8-9-10-J-Q-K), with the help of the four free cells (the four slots in the top right).

Only the top card or tableau of each cascade is available for play. It may be moved to a foundation pile, a free cell, or to another tableau pile. Within the tableau, cards are built down in sequence and alternating in color. Any card may be moved into an empty space. Blocks of cards may not be moved, unless the requisite number of free cells and/or tableau spaces are availabe to allow each individual card to be moved. If you fill all four foundation piles, you win.

Press the top button to deal a new game. Move cards or tableaux with drag and drop, right click cards to send them directly to the foundations.

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.