tic-tac-toe - fixes

fixed errors introduced in
https://github.com/dgstranz/games/commit/84adac8265b969b7e291fe820fb883f99529d07b