Skip to content
Snippets Groups Projects
chess_TODO_2.py 218 B
Newer Older
  • Learn to ignore specific revisions
  • tuhe's avatar
    tuhe committed
            if np.random.rand() < self.p_draw: 
                game_outcome = 0
            else:
                if np.random.rand() < self.p_win:
                    game_outcome = 1
                else:
                    game_outcome = -1