for lumie
git --version # 2
node --version # 16
python --version # 3
A simple loop that shows why the Martingale strategy does not work indefinitely. If you start playing with a balance
you can never get out 2 * balance
. After enough coinflips, there will be a losing streak long enough to exhaust balance
, including previous profits. This issue can not be bypassed through iteration. It's not possible to reset "luck". History is written.
However, it is possible to get a guranteed fraction
of balance
, where fraction < balance == true
. - more code required
Find random servers on the internet. Generates a random IPv4 address and connects to TCP ports 1-1023.
conways game of life cli
usage:
game [OPTIONS] [COORDINATE ...]
COORDINATE alive cells in the format X/Y
options:
--random PERC percentage of random alive cells
--speed SPEED simulation speed, default: 1
examples:
game 1/0 1/1 1/2
game --random 20 --speed 100