Giter Club home page Giter Club logo

solitaire-cmdexe's Introduction

Solitaire (for cmd.exe)

(c) 2016 Shaun Rasmusen


Description

This is a gimmickey version of the classic card game Solitaire that runs within the Windows cmd.exe runtime. It includes a full UI interface with click interactions for gameplay.

Originally written in 2016 by Shaun Rasmusen for a OOP with C++ lab.


How to Run

The project spec for this program was created in Visual Studio 2015, but has been confirmed to be compatible with at least Visual Studio Community 2019.

To ensure proper rendering of the cards' ASCII glyphs, the command prompt must be configured to run in Legacy Mode or else the suits and colors will render improperly due to a mismatch of the loaded character page and the way that the modern command prompt handles color settings.

If the click actions are not working, also ensure that you are allowed to make selections within the command prompt window.


How to Play

The game is played identically to the standard rules of Solitaire. To select a card, click the card once. Cards are highlighted by inverting their colors.

To deselect a card, click anywhere in game field that is not the currently selected card.

To automatically send a card to the foundations in the top left corner, double click the card. If there is not a valid spot in the foundations for that card, nothing will happen.

To move a stack of cards, select the top most card you would like and it will auto select all cards below it if the run is valid.

To start a new game, select the replay button in the bottom right of the screen.

solitaire-cmdexe's People

Watchers

James Cloos avatar Shaun Rasmusen 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.