Chess calculation for beginners and grandmasters