Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.sinclair > #22
| From | Pedro Timóteo <pedro@dehumanizer.com> |
|---|---|
| Newsgroups | comp.sys.sinclair |
| Subject | Re: Blackjack for the ZX80 (mostly) completed |
| Date | 2011-03-03 14:30 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <iko8lr$9ri$1@speranza.aioe.org> (permalink) |
| References | <5ecebf23-1a66-47d7-aff1-3b3917f617ca@r4g2000prm.googlegroups.com> <ikmhkv$olh$1@speranza.aioe.org> <56c28b4f-5ec0-4fc6-8213-e0656baef230@p16g2000vbo.googlegroups.com> |
On 03-03-2011 02:59, N.N. Thayer wrote: > On Mar 2, 4:51 pm, Pedro Timóteo<pe...@dehumanizer.com> wrote: >> I didn't look at the code, but what about asking for a keypress after >> the computer hits, and then doing a RANDOMISE afterwards? It'll reset >> the random number generator each time. It makes the program less user >> friendly, though. > > It makes technical sense, but yeah, it would kinda ruin the automation > of the computer playing its own hand. OK, then you can go for a lesser version: RANDOMISE after the player makes any decision. Since the computer is already waiting for the player anyway (and thus generating a "random" number of seconds since the computer was turned on, each time)...
Back to comp.sys.sinclair | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Blackjack for the ZX80 (mostly) completed Pedro Timóteo <pedro@dehumanizer.com> - 2011-03-02 22:51 +0000
Re: Blackjack for the ZX80 (mostly) completed "N.N. Thayer" <nnthayer1@gmail.com> - 2011-03-02 18:59 -0800
Re: Blackjack for the ZX80 (mostly) completed spike1@freenet.co.uk - 2011-03-03 03:20 +0000
Re: Blackjack for the ZX80 (mostly) completed "N.N. Thayer" <nnthayer1@gmail.com> - 2011-03-03 03:06 -0800
Re: Blackjack for the ZX80 (mostly) completed gus <gdeldago@gmail.com> - 2011-03-03 05:42 -0800
Re: Blackjack for the ZX80 (mostly) completed gus <gdeldago@gmail.com> - 2011-03-08 13:58 -0800
Re: Blackjack for the ZX80 (mostly) completed Pedro Timóteo <pedro@dehumanizer.com> - 2011-03-03 14:30 +0000
Re: Blackjack for the ZX80 (mostly) completed "dott.Piergiorgio" <dott.PiergiorgioNIHON@KAIGUN.fastwebnet.it> - 2011-03-04 02:30 +0100
csiph-web