<commit_before>
Things to remember
- make unit tests before refactoring anything
- change doc strings whenever code changes
- Pep8 and currently use " " rather than ' '

# TODO
- Work on extending minimax to do variable depth.

small features
- optional parameter for print_board=True to be changed when you want to run
  games very quickly. Probably on the game class, maybe on the player class.
- write a draw condition if both players cannot checkmate each other in X turns.
  Official chess rules should cover how to call a draw.
- write an optional condition for if we want it to print player's moves,
  by default it should be off. Default should be for normal player vs computer.

large features
- another class for series of games   some way to play 1000 games computer vs computer
  Tournament(player1, player2, 100) plays 100 games
- As part of score evaluation, calculate # of pieces a player is attacking.<commit_msg>added result object to small features<commit_after>
Things to remember
- make unit tests before refactoring anything
- change doc strings whenever code changes
- Pep8 and currently use " " rather than ' '

# TODO
- Work on extending minimax to do variable depth.

small features
- optional parameter for print_board=True to be changed when you want to run
  games very quickly. Probably on the game class, maybe on the player class.
- write a draw condition if both players cannot checkmate each other in X turns.
  Official chess rules should cover how to call a draw.
- write an optional condition for if we want it to print player's moves,
  by default it should be off. Default should be for normal player vs computer.
- have a game return some kind of result for who won, # of turns, # of pieces at the 
  end, snapshop of last board. Maybe a result object should be created and returned.

large features
- another class for series of games   some way to play 1000 games computer vs computer
  Tournament(player1, player2, 100) plays 100 games
- As part of score evaluation, calculate # of pieces a player is attacking.
{'fraction_non_alphanumeric': 0.03799318071115441, 'fraction_numerical': 0.012664393570384803, 'mean_word_length': 3.867298578199052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1037782', 'n_tokens_mistral': 517, 'n_tokens_neox': 487, 'n_words': 325}