I was talking about writing games recently, and Conway’s Game of Life came up. As I’d never attempted to build it before, I thought I’d give it a go, and this is the result.
Like Breakanoid, it’s a pretty simple canvas-based implementation. The cells can be clicked to activate or deactivate them and clicking and dragging will allow the state of multiple cells to be set quickly.
Once the pattern is set, hit the
Play / Pause button and watch as Conway’s rules take effect. It can be quite mesmerizing.
It’s pretty simple, with the majority of the code to do with rendering. Have a look at the code
Rather than the usual contrived ‘Hello World’ examples, I decided to build a break-out clone: Breakanoid!
After working in a Web Agency environment for quite a few years I found that, more often than not, estimates for work were required before having the full picture. I prefer a bit more structure than just a finger in the air (or elsewhere) to get to a number so I put together Estimator - a little tool to help derive estimates for projects.
Way back in the mid to late nineties, before 3D accelerator cards were even a thing, I used to dabble in 3D graphics inspired by the Demoscene. Using Borland Turbo Pascal 7 and embedded Assembler, for the bits that just needed pure speed, I built a few simple demos which, sadly, never saw the light of day.