import sys
from tool import Tool, Rock, Paper, Scissors
from rpsgame import RPSGame
from machine import AI

def main():
	answer = 'y'
	play = RPSGame()
	while(answer == 'y'):
		#function call
		play.bring_together()
		answer = raw_input("Would you like to play again(y or n)?\n")

		if(answer!='y'):
			print("exited")
			sys.exit(0)

if __name__=='__main__':
    main()

b5ba327e9d3090cfe3b847142cfc84411cb8e6ea
<mask token>

<mask token>


def main():
    answer = 'y'
    play = RPSGame()
    while answer == 'y':
        play.bring_together()
        answer = raw_input('Would you like to play again(y or n)?\n')
        if answer != 'y':
            print('exited')
            sys.exit(0)


<mask token>

<mask token>


def main():
    answer = 'y'
    play = RPSGame()
    while answer == 'y':
        play.bring_together()
        answer = raw_input('Would you like to play again(y or n)?\n')
        if answer != 'y':
            print('exited')
            sys.exit(0)


if __name__ == '__main__':
    main()

import sys
from tool import Tool, Rock, Paper, Scissors
from rpsgame import RPSGame
from machine import AI


def main():
    answer = 'y'
    play = RPSGame()
    while answer == 'y':
        play.bring_together()
        answer = raw_input('Would you like to play again(y or n)?\n')
        if answer != 'y':
            print('exited')
            sys.exit(0)


if __name__ == '__main__':
    main()

import sys
from tool import Tool, Rock, Paper, Scissors
from rpsgame import RPSGame
from machine import AI

def main():
	answer = 'y'
	play = RPSGame()
	while(answer == 'y'):
		#function call
		play.bring_together()
		answer = raw_input("Would you like to play again(y or n)?\n")

		if(answer!='y'):
			print("exited")
			sys.exit(0)

if __name__=='__main__':
    main()
