def get_boardsize(dic_of_positions):
	""" Returns the size of the board with an max value of x and y
	
	Parameters:
	dic_of_positions (dictionarys) - Dictionary of players and there piece positions.

	Returns:
	xMax (int) - Max value on the x-axis
	yMax (int) - Max value on the y-axis
	"""
	xMax, yMax = 0, 0
	for key,val in dic_of_positions.items():
		for x,y in val:
			xMax = x if xMax < x else xMax
			yMax = y if yMax < y else yMax
	return xMax, yMax