Post Reply 
(11C) Random Move
01-04-2019, 08:28 PM
Post: #2
RE: (11C) Random Move
(01-03-2019 08:55 AM)Gamo Wrote:  1
0
ENTER
1
0
Y^X

I wonder what may be the reason for these six lines of code just to generate the value 1010. Why not a simple "EEX 10"? Too easy ?-)

The program determines a random number which is 1, 0 or –1. It then does various tests to decide whether R2 is divided by 10, left unchanged or multiplied by 10. Now imagine what happans if instead of all this you simply calculate 101, 100 or 10–1... ;-)

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) Random Move - Gamo - 01-03-2019, 08:55 AM
RE: (11C) Random Move - Dieter - 01-04-2019 08:28 PM
RE: (11C) Random Move - rprosperi - 01-04-2019, 11:16 PM
RE: (11C) Random Move - Thomas Klemm - 01-05-2019, 03:43 AM
RE: (11C) Random Move - rprosperi - 01-05-2019, 03:58 AM
RE: (11C) Random Move - Gamo - 01-06-2019, 04:25 AM
RE: (11C) Random Move - Dieter - 01-06-2019, 08:37 AM
RE: (11C) Random Move - Thomas Klemm - 01-06-2019, 06:55 AM
RE: (11C) Random Move - Thomas Klemm - 01-06-2019, 07:51 PM



User(s) browsing this thread: 1 Guest(s)