Conway's Game of Life
A programmer’s favourite, Conway’s Game of Life is a famous cellular automaton. I just had to implement my own version.
The difference from most implementations is that this one wraps around when it hits the edges of the grid. I further included colorisation of cells: newly activated cells are green, while newly inactive cells are red.
For this project, I borrowed some of the structural ideas and other concepts I had been getting used to while working on Android apps in C# (using Xamarin). Hence the viewmodel, viewcontroller, and propertycollection in the code.
This project was done in about 2 days.
- Architecture design
- Implementation of the rules
- Implementation of the UI, and
- A bit of design and CSS for the interface style
- Implementing encoder/decoder for sharing a seed as part of the URL