added in check for tie game
removed ability for user to make moves after game has ended