Re: Card game



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
.



Relevant Pages

  • Re: News: Robertson (need I say more?)
    ... except the will of many within the US is to force religion on ... decks of cards, leave in the two jokers for each deck giving you 540 ... you finished shuffling, was 1. ...
    (talk.origins)
  • Re: News: Robertson (need I say more?)
    ... except the will of many within the US is to force religion on ... decks of cards, leave in the two jokers for each deck giving you 540 ... you finished shuffling, was 1. ...
    (talk.origins)
  • Re: News: Robertson (need I say more?)
    ... except the will of many within the US is to force religion on ... decks of cards, leave in the two jokers for each deck giving you 540 ... you finished shuffling, was 1. ...
    (talk.origins)
  • Re: Random Number Question
    ... Paul C-T wrote: ... If it is then to exit the loop and if not repeat the code? ... But there is a catch when dealing and shuffling cards. ...
    (comp.lang.php)
  • Re: News: Robertson (need I say more?)
    ... except the will of many within the US is to force religion on ... decks of cards, leave in the two jokers for each deck giving you 540 ... you finished shuffling, was 1. ...
    (talk.origins)