player class and gitignore file