Created generator-based tic-tac-toe game