Example #1
0
 def play(self, color, vertex):
     self.gtp_subprocess.send("play {}\n".format(gtp_move(color, vertex)))
Example #2
0
 def play(self, color, vertex):
     self.gtp_subprocess.send("play {}\n".format(gtp_move(color, vertex)))
Example #3
0
 def test_gtp_move(self):
     self.assertEqual(gtp_move(BLACK, (3, 2)), "B C2")
Example #4
0
File: test.py Project: jtauber/gtp
 def test_gtp_move(self):
     self.assertEqual(gtp_move(BLACK, (3, 2)), "B C2")