formatting
improved AI recognising win condition