Added a gameStatus element to ddisplay game result, instead of using JS alert boxes