World of Random
There's a pile of scrap timber, rubble and general turds in the road opposite my work with a hand-written sign reading "Free Shed". Tell us about random, completely hatstand stuff and people you've seen
Suggested by Sandettie Light Vessel Automatic
( , Thu 21 Apr 2011, 11:38)
There's a pile of scrap timber, rubble and general turds in the road opposite my work with a hand-written sign reading "Free Shed". Tell us about random, completely hatstand stuff and people you've seen
Suggested by Sandettie Light Vessel Automatic
( , Thu 21 Apr 2011, 11:38)
« Go Back
About 30 years ago
I was learning to program my ZX81, and I wrote a random number generator because I had lost the dice to a board game. However, 9 times out of 10, it generated the number three.
( , Wed 27 Apr 2011, 16:12, 13 replies)
I was learning to program my ZX81, and I wrote a random number generator because I had lost the dice to a board game. However, 9 times out of 10, it generated the number three.
( , Wed 27 Apr 2011, 16:12, 13 replies)
it's things like this
that make me wish I had bothered learning how to code.
( , Wed 27 Apr 2011, 16:21, closed)
that make me wish I had bothered learning how to code.
( , Wed 27 Apr 2011, 16:21, closed)
Technically it wasn't random.
It was pseudorandom and, depending on your code, perhaps not even that -- it could have been periodic or very weighted towards one number or other depending on how you obtained your seed value.
( , Wed 27 Apr 2011, 17:44, closed)
It was pseudorandom and, depending on your code, perhaps not even that -- it could have been periodic or very weighted towards one number or other depending on how you obtained your seed value.
( , Wed 27 Apr 2011, 17:44, closed)
I once wrote a Sheepdog Trials game on a ZX Spectrum
It was kind of Object Oriented, as all the sheep used the same code to manage their flocking / dog avoiding behaviour.
But whatever I did, one sheep would always break away from the pack and attack the dog.
Never did work out why.
( , Wed 27 Apr 2011, 16:59, closed)
It was kind of Object Oriented, as all the sheep used the same code to manage their flocking / dog avoiding behaviour.
But whatever I did, one sheep would always break away from the pack and attack the dog.
Never did work out why.
( , Wed 27 Apr 2011, 16:59, closed)
OOOoh. Mr Fancy Pants ZX81
Some of us only had ZX80s.
I remember the dice thing though. It was a cute bit of programming.
print "▓ ▓"
print " "
print " ▓"
print " "
print "▓ ▓"
( , Wed 27 Apr 2011, 17:21, closed)
Some of us only had ZX80s.
I remember the dice thing though. It was a cute bit of programming.
print "▓ ▓"
print " "
print " ▓"
print " "
print "▓ ▓"
( , Wed 27 Apr 2011, 17:21, closed)
and if you didnt have a wobbly RAM pack,
You only got as far as the 3rd line, then ran out of memory..
( , Wed 27 Apr 2011, 17:49, closed)
You only got as far as the 3rd line, then ran out of memory..
( , Wed 27 Apr 2011, 17:49, closed)
We have a working ZX81
and it still loads from 30 year old tapes!
( , Wed 27 Apr 2011, 18:25, closed)
and it still loads from 30 year old tapes!
( , Wed 27 Apr 2011, 18:25, closed)
I had that problem on some form of portable Sinclair
I think I needed to see the PRNG. These days of course we have huge entropy pools on our machines. If you want to see PRNG abuse in action look at some Tool Assisted Speedruns of games.
( , Wed 27 Apr 2011, 20:58, closed)
I think I needed to see the PRNG. These days of course we have huge entropy pools on our machines. If you want to see PRNG abuse in action look at some Tool Assisted Speedruns of games.
( , Wed 27 Apr 2011, 20:58, closed)
« Go Back