add score.js to prepare for evaluate board function