Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
No ORDs included solution in Clear category for Pawn Brotherhood by zlomovsky
def safe_pawns(pawns):
result = 0
l = 'abcdefghbcdefghizabcdefg'
for pawn in pawns:
i = l.index(pawn[0])
n = str(int(pawn[1])-1)
result += any(x in pawns for x in (l[i+8]+n, l[i+16]+n))
return result
March 1, 2015