Giter Site home page Giter Site logo

freecell's Introduction

FreeCell

To create a project that emulate the classic solitaire -- FreeCell The language is using Python. And it is a non-GUI interface.

This project imitates the famous solitaire game: Free Cell. The project contains 4 classes: Card, Board, Deck and FreeCell. As their names imply, the class representing the corresponding concept has powerful and separate function. Consequently, the combination of those class comes into the good game: FreeCell. The structure is : Deck&Board form the FreeCell, the deck is made up of Card.

The operation is easy to understand, and the interface is nice.

test 2 account

Moreover, I add a function which is highly similar to the FreeCell—automatically collect the cards from cascades once they are qualified. The condition is that each foundation should contain at least one card, then the automatic collection function could be activated. Once the user chooses the e -- automatically move valid cards from cascades to open foundation, the system will detect whether there is a card in cascades could be put into foundation, if yes, it would automatically put the card into foundation at proper position, if not, it would give the information telling the user there is no card could be automatically collected.

freecell's People

Contributors

nutingnon avatar

Watchers

 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.