Altough not an expert, your implementation is the basic Conway implementation with 23/3 rule representing 2 states, a cell is living=1 or dead=0. Apparently Gopher's Glider gun requires more states...
Regarding your code everything seems fine, except that you don't need 2 arrays but it doesn't hurt either...
There is an implementation in code archive as well:
http://www.blitzbasic.com/codearcs/codearcs.php?code=912
Regarding your code everything seems fine, except that you don't need 2 arrays but it doesn't hurt either...
There is an implementation in code archive as well:
http://www.blitzbasic.com/codearcs/codearcs.php?code=912