..

Go Pixels Fight!

A Golang port of pixelsfighting.com

git

This ia port to Go of the JavaScript Pixel Fighting simulation by Jan Tewes Thede. There are a few notable differences between Jan's version and my port, namely mine contains a positive feedback loop so that once one side begins to gain ground their velocity increases until a winner in found rather than oscillating between the two sides. Once a side has one the simulation resets and a fresh pair of colours are selected.

In addition to the above this port also includes a border around the "battle field" that is shaded in preference to the winning side.