working two-player games with victory checking