C language course design man-machine guessing game