class MasterMindGUI(object): #-------------------------------------------------------------DRAWTEXTGUI------------------------------------------------------------ def DrawGUI(NoOfPegs): # creates the GUI for when the game is first played for i in range(1,13,1): text = " _," print("Attempt Number ", i,) print("Your input :",text*NoOfPegs, ": Black Number = _ : White Number = _ ") print("------------------------------------------------------------------------") #-------------------------------------------------------------STARTGAME---------------------------------------------------------------- def StartGame(coloursAvaliable): print(coloursAvaliable) print("Please use the first letter of the colour in the program e.g. p for purple or r for red") print("please enter in the format r,b,g,y") print("You have 12 guess's to get the correct answer") print("\n")