corrected some bugs, added a timeout for the active player(100s) and now
display the correct outcome of the game.