A comparison of functions and playing style in chess