Addressed comments on the nanogpt branch. Added in an argparser line for temperature and setting it as an environment variable. Implemented the resignation if block in get_legal_move by returning a move object with the resigned field as True.
added back the pool.apply_sync function for the play_move function call. This caused a bug with a board form a previous unfinished game being passed in, causing the prior_board to not be initialized properly. Fixed it by raising a chess.engine.EngineError when the board is not an initial board and prior_board is a None type
Type of pull request:
Description:
Addressed comments on the nanogpt branch. Added in an argparser line for temperature and setting it as an environment variable. Implemented the resignation if block in get_legal_move by returning a move object with the resigned field as True.
added back the pool.apply_sync function for the play_move function call. This caused a bug with a board form a previous unfinished game being passed in, causing the prior_board to not be initialized properly. Fixed it by raising a chess.engine.EngineError when the board is not an initial board and prior_board is a None type
Related Issues:
PR: nanopgt