RandomSelector Coin and Sock Examples

Example: flipping a coin

A single coin is modeled with the text file called OneCoin containing the two lines:

Head
Tail

After changing some font options, a selection looks like:

Example: flipping several coins

You can "flip" any number of coins by creating the appropriate text file. Here we flip three coins by creating a file ThreeCoins:

HHH
HHT
HTH
THH
HTT
THT
TTH
TTT

A selection looks like:

Example: Simultaneous Flip and sock draw

This can be done by creating a text file "Heads" with the lines

Red sock
Brown sock
Black sock
Blue sock

and an identical file with the name "Tails". Select both of these in RandomSelector.

After changing some font options, a selection looks like:

Back to RandomSelector


SourceForge.net Logo