object-oriented programming write class that inherits from the card_group class of this the class should represent deck of cards that contains only hearts and spaceswith only the cards through in each suit add method to the class called next that returns the top two cards from the deck write class called rock_paper_scissors that implements the logic of the game rockpaper-scissors for this game the user plays against the computer for certain number of rounds your class should have fields for the how many rounds there will bethe current round numberand the number of wins each player has there should be methods for getting the computer' choicefinding the winner of roundand checking to see if someone has one the (entiregame you may want more methods (awrite class called connect that implements the logic of connect game use the tic_tac_toe class from this as starting point (buse the connect class to create simple text-based version of the game write class called poker_hand that has field that is list of card objects there should be the following self-explanatory methodshas_royal_flushhas_straight_flushhas_four_of_a_kindhas_full_househas_flushhas_straighthas_three_of_a_kindhas_two_pairhas_pair there should also be method called best that returns string indicating what the best hand is that can be made from those cards