updated gitignore and fixed errors in game