Tags
This post contains some simple code for calculating the square root of 2 and then generating the bits of the value.
It’s a companion to a post on my other blog.
15 Friday May 2020
Posted in Fun
Tags
This post contains some simple code for calculating the square root of 2 and then generating the bits of the value.
It’s a companion to a post on my other blog.
07 Thursday May 2020
Last time I showed you the functions necessary for Life — for John Conway’s game of Life, that is. We ended up with a set of functions you can use to generate frames of a Life session.
This time I’ll show you an object-oriented version (a Life class) along with some other tweaks to make things look nicer.
03 Sunday May 2020
You may have heard that mathematician John Conway died last April. To his everlasting dismay, most people only know him for his “game” of Life (which he considered trivial and inferior to his real mathematical work). Unfortunately for Conway, his Life game is fascinating.
To honor his passing, I whipped up a Python version that I thought I’d share. Python is about the only language I’ve used a lot in which I’ve never implemented Life, so high time I did, right?