Write a class encapsulating a board game. A board game has thefollowing additional attributes: the number of players and whetherthe game can end in a tie. Code the constructor and the toStringmethod of the new class. You also need to include a clientclass(with the main method) to test your code.
code in Python