Subject: Re: Clisp randomness
From: Erik Naggum <>
Date: Tue, 23 Apr 2002 02:11:41 GMT
Newsgroups: comp.lang.lisp
Message-ID: <>

* (bruce)
| I'm trying to write a card-playing game using Clisp, and am running into
| the problem of not getting a very "random" number from the RANDOM
| function.  It's producing the same two hands on every start in a fresh
| Clisp, thus the game tends to play much the same way each time it's run.
| How can I either find something random to set to *random-state*, or else
| find some other function to fill this gap?

  See the entry for the function random in the standard and follow the
  links to the variable *random-state* and the function make-random-state.

  In a fight against something, the fight has value, victory has none.
  In a fight for something, the fight is a loss, victory merely relief.

  Post with compassion: