refactor check move is available
check goal