updated move feature and game end