from connect_four import ConnectFour

def main():
    """ Play a game!
    """
    connect_four = ConnectFour()
    # start the game
    connect_four.start()

if __name__ == "__main__": # Default "main method" idiom.
    main()
from connect_four import ConnectFour


def main():
    """ Play a game!
    """
    connect_four = ConnectFour()
    menu_choice = 1
    while menu_choice == 1:
        # start the game
        connect_four.start_new()
        # menu
        print("Menu")
        print("1 - Play again")
        print("2 - Quit")
        menu_choice = int(raw_input("choice : "))


if __name__ == "__main__":
    main()

Add menu to start new game and quit
Add menu to start new game and quit

  from connect_four import ConnectFour
+ 
  
  def main():
      """ Play a game!
      """
      connect_four = ConnectFour()
+     menu_choice = 1
+     while menu_choice == 1:
-     # start the game
+         # start the game
-     connect_four.start()
+         connect_four.start_new()
+         # menu
+         print("Menu")
+         print("1 - Play again")
+         print("2 - Quit")
+         menu_choice = int(raw_input("choice : "))
  
- if __name__ == "__main__": # Default "main method" idiom.
+ 
+ if __name__ == "__main__":
      main()
+ 
Add menu to start new game and quit
## Code Before:
from connect_four import ConnectFour

def main():
    """ Play a game!
    """
    connect_four = ConnectFour()
    # start the game
    connect_four.start()

if __name__ == "__main__": # Default "main method" idiom.
    main()
## Instruction:
Add menu to start new game and quit
## Code After:
from connect_four import ConnectFour


def main():
    """ Play a game!
    """
    connect_four = ConnectFour()
    menu_choice = 1
    while menu_choice == 1:
        # start the game
        connect_four.start_new()
        # menu
        print("Menu")
        print("1 - Play again")
        print("2 - Quit")
        menu_choice = int(raw_input("choice : "))


if __name__ == "__main__":
    main()
