modify script.js and fix reply move of computer and player