Home > Archive > Prolog > January 2006 > Card game
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Rouzbeh 2006-01-10, 4:10 am |
| HI I am doing a project for which I will have to set up the generation
of cards and the shuffling them.
I will have to make these operators.
Has anyone got advice or any experience in making a card game in
prolog?
If, so I would be grateful for any hints or advise you have.
Thank you
Rouzbeh
| |
| Bart Demoen 2006-01-10, 4:10 am |
| Rouzbeh wrote:
> HI I am doing a project for which I will have to set up the generation
> of cards and the shuffling them.
> I will have to make these operators.
> Has anyone got advice or any experience in making a card game in
> prolog?
Prolog has no specific features for generating card games.
If you want to generate random shuffles of a deck of cards ...
read about "random permutation" - it is easy to get this one
wrong in any language :-)
BTW, what have you got already in terms of Prolog code ? Post it here
and you will get feedback.
Cheers
Bart Demoen
| |
|
| On 8 Jan 2006 06:49:50 -0800, "Rouzbeh" <rouz2000@hotmail.com> wrote:
>HI I am doing a project for which I will have to set up the generation
>of cards and the shuffling them.
>I will have to make these operators.
>Has anyone got advice or any experience in making a card game in
>prolog?
>If, so I would be grateful for any hints or advise you have.
>Thank you
Learn Prolog?...
A.L.
|
|
|
|
|