game of life: make things ready for SDL use