A rewrite of an old game of mine