add player.c file