Simple Game Code by Sam Bull  http://program.sambull.org/sgc/index.html