add the modification from Nathan

modified:

main,player.h and player.cpp