Mastering the chess openings