Giter Club home page Giter Club logo

solitaire's Introduction

solitaire.hs

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Solitaire โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ                                       
โ”‚โ•ญโ”€โ”€โ•ฎโ”‚โ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ”‚โ•ญ  โ•ฎโ”‚ Score:   0                            
โ”‚โ”‚ฮป=โ”‚โ”‚โ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ”‚7โ™ โ”‚โ”‚    โ”‚                                       
โ”‚โ•ฐโ”€โ”€โ•ฏโ”‚โ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ”‚Kโ™ฅโ”‚โ•ฐโ”€โ”€โ•ฏโ”‚โ•ฐ  โ•ฏโ”‚ Moves:   0                            
โ”‚โ•ญโ”€โ”€โ•ฎโ”‚โ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ”‚Jโ™ฃโ”‚โ•ฐโ”€โ”€โ•ฏ    โ”‚โ•ญ  โ•ฎโ”‚                                       
โ”‚โ”‚3โ™ โ”‚โ”‚โ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ”‚6โ™ฆโ”‚โ•ฐโ”€โ”€โ•ฏ        โ”‚    โ”‚ [New]                                 
โ”‚โ•ญโ”€โ”€โ•ฎโ”‚โ•ญโ”€โ”€โ•ฎโ•ญโ”€โ”€โ•ฎโ”‚9โ™ฃโ”‚โ•ฐโ”€โ”€โ•ฏ            โ”‚โ•ฐ  โ•ฏโ”‚                                       
โ”‚โ”‚3โ™ฅโ”‚โ”‚โ•ญโ”€โ”€โ•ฎโ”‚Qโ™ โ”‚โ•ฐโ”€โ”€โ•ฏ                โ”‚โ•ญ  โ•ฎโ”‚ [Undo]                                
โ”‚โ•ญโ”€โ”€โ•ฎโ”‚โ”‚4โ™ โ”‚โ•ฐโ”€โ”€โ•ฏ                    โ”‚    โ”‚                                       
โ”‚โ”‚7โ™ฆโ”‚โ”‚โ•ฐโ”€โ”€โ•ฏ                        โ”‚โ•ฐ  โ•ฏโ”‚                                       
โ”‚โ•ฐโ”€โ”€โ•ฏโ”‚                            โ”‚โ•ญ  โ•ฎโ”‚                                       
โ”‚    โ”‚                            โ”‚    โ”‚                                       
โ”‚    โ”‚                            โ”‚โ•ฐ  โ•ฏโ”‚                                       
โ”‚    โ”‚                            โ”‚    โ”‚                                       
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ                                       

Essay

For more background on this project, read the blog post I wrote about developing it.

Prerequisites

You'll need to install:

  • haskell, a standardized, general-purpose purely functional programming language, with non-strict semantics and strong static typing.
  • stack, a cross-platform program for developing Haskell projects.

Playing solitaire

You can clone this repo and use stack to build and run the executable like so:

git clone https://github.com/ambuc/solitaire.git
cd solitaire
stack build
stack exec solitaire-exe

Links

  • brick, a Haskell terminal user interface programming library.
    • guide.rst, the Brick User Guide
    • snake, a walkthrough of writing a snake game in Brick
  • microlens, a small extract of the larger Control.Lens library, which implements functional references.

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.