Add one more ending condition
Bug fix: reset turn to player at beginning of game