def coordinateToIndex(coordinate):
	"""Return a raw index (e.g [4, 4]) from board coordinate (e.g. e4)"""
	return [abs(int(coordinate[1]) - 8), ("a", "b", "c", "d", "e", "f", "g", "h").index(coordinate[0])]