Chess: updated .gitignore
Chess: code refactoring