from game import Game
from self_play import SelfPlay

g = Game()

runtime = SelfPlay(g)
runtime.play()

from game import Game
from self_play import SelfPlay

import game_stats_tree

g = Game()

runtime = SelfPlay(g)
runtime.play()

game_stats_tree = game_stats_tree.Node()
update_game_stats(game_stats_tree, runtime.log)
Add log to self play
Add log to self play

  from game import Game
  from self_play import SelfPlay
+ 
+ import game_stats_tree
  
  g = Game()
  
  runtime = SelfPlay(g)
  runtime.play()
  
+ game_stats_tree = game_stats_tree.Node()
+ update_game_stats(game_stats_tree, runtime.log)
Add log to self play
## Code Before:
from game import Game
from self_play import SelfPlay

g = Game()

runtime = SelfPlay(g)
runtime.play()

## Instruction:
Add log to self play
## Code After:
from game import Game
from self_play import SelfPlay

import game_stats_tree

g = Game()

runtime = SelfPlay(g)
runtime.play()

game_stats_tree = game_stats_tree.Node()
update_game_stats(game_stats_tree, runtime.log)