Coder Social home page Coder Social logo

simple-solitaire's Introduction

Solitaire

AboutInstallationHow to useFeaturesScoring scheme

screenshot of new solitaire game

About

Note

This project was made for a school assignment. It is no longer maintained.

This is a minimal Classic (Klondike) Solitaire game.

Installation

Windows

  1. Download source code as a .zip file
  2. Unzip it into a new folder

How to use

  1. Run Solitaire.java

  2. Click on the game type that you want to play (draw 3 or draw 1)

  3. Click on the deck (face down part) to draw cards

  4. Click and drag the cards to move them from the deck to a tableau, foundation pile, etc.

  5. Press "Restart" if the game is stuck or you want to change game type. You will have the option to re-deal the cards or go back to the menu page

    screenshot of restart menu

Features

  • Draw 1 or draw 3 game

screenshot of level 1 setup

screenshot of level 2 setup

  • Displays top 3 high scores (see below for scoring scheme)
  • Re-deal a game without exiting

Scoring scheme

It has been modified from Microsoft Solitaire's scoring scheme

Move Points
Card moved onto foundation pile +15
Card removed from foundation pile -20
Card moved from deck to tableau +5
Card moved from one tableau to another +5
Facedown card turned faceup +10
Every 2 passes after 3 passes (4, 6, 8, etc) in Draw 3 -50
Every pass after 2 passes (3, 4, 5, etc) in Draw 1 -50

simple-solitaire's People

Contributors

06j07m 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.