refactored moveWouldWin()