update the game.js to improve one of the tests and add the diagonal test