In [3]:
from renju import Game, run_test, Player, PyPlotUI
from agent import BackendAgent, HumanAgent

%matplotlib notebook

In [5]:
run_test(BackendAgent('mcts_agent', 'B'), BackendAgent('mcts_agent', 'W'))


---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-5-e9ca012422d6> in <module>()
----> 1 run_test(BackendAgent('mcts_agent', 'B'), BackendAgent('mcts_agent', 'W'))

/home/eternius/git/Renju/competition/agent.py in __init__(self, backend, name)
     35             backend.split(),
     36             stdin=subprocess.PIPE,
---> 37             stdout=subprocess.PIPE
     38         )
     39 

/usr/lib/python3.5/subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds)
    945                                 c2pread, c2pwrite,
    946                                 errread, errwrite,
--> 947                                 restore_signals, start_new_session)
    948         except:
    949             # Cleanup if the child failed starting.

/usr/lib/python3.5/subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, start_new_session)
   1549                             else:
   1550                                 err_msg += ': ' + repr(orig_executable)
-> 1551                     raise child_exception_type(errno_num, err_msg)
   1552                 raise child_exception_type(err_msg)
   1553 

FileNotFoundError: [Errno 2] No such file or directory: 'mcts_agent'

In [ ]: