librelist archives

« back to archive

Implementing card games

Implementing card games

From:
Ricardo Mendes
Date:
2014-01-07 @ 17:11
Hi,

Has anyone implemented any card game using Clojure? I searched around but
didn't find much in the way of interesting code and useful libraries.

I did find https://github.com/jondavidjohn/clojure-card-shuffle , which
implements a couple of interesting "humanistic" shuffles. And I instantly
found a bug in one of the shuffles! :P

I'm coding up an implementation of a game that we call Sueca in Portugal,
hence the interest.

Re: [foray] Implementing card games

From:
supernullset
Date:
2014-01-07 @ 17:15
Nope! I have not.

Id be curious to take a look at your code once you code it up; I have
been doing lots of mini clojuring as well.

- Sean the third

On 1/7/14, 9:11 AM, Ricardo Mendes wrote:
> Hi,
> 
> Has anyone implemented any card game using Clojure? I searched
> around but didn't find much in the way of interesting code and
> useful libraries.
> 
> I did find https://github.com/jondavidjohn/clojure-card-shuffle ,
> which implements a couple of interesting "humanistic" shuffles. And
> I instantly found a bug in one of the shuffles! :P
> 
> I'm coding up an implementation of a game that we call Sueca in 
> Portugal, hence the interest.

Re: [foray] Implementing card games

From:
Ricardo Mendes
Date:
2014-01-07 @ 17:24
I'll have to re-read *cofcof*actually read, more like*cofcof* Joy of
Clojure to soak in The Clojure Way™. Hopefully I'll manage to factor things
out nicely.

P.S. You'll always be the first Sean to me


On Tue, Jan 7, 2014 at 5:15 PM, supernullset <
supernullset@wereprobablywrong.com> wrote:

> Nope! I have not.
>
> Id be curious to take a look at your code once you code it up; I have
> been doing lots of mini clojuring as well.
>
> - Sean the third
>
> On 1/7/14, 9:11 AM, Ricardo Mendes wrote:
> > Hi,
> >
> > Has anyone implemented any card game using Clojure? I searched
> > around but didn't find much in the way of interesting code and
> > useful libraries.
> >
> > I did find https://github.com/jondavidjohn/clojure-card-shuffle ,
> > which implements a couple of interesting "humanistic" shuffles. And
> > I instantly found a bug in one of the shuffles! :P
> >
> > I'm coding up an implementation of a game that we call Sueca in
> > Portugal, hence the interest.
>

Re: [foray] Implementing card games

From:
Sean Corfield
Date:
2014-01-07 @ 18:02
could not decode message