GitXplorerGitXplorer
j

gtp

public
39 stars
22 forks
1 issues

Commits

List of commits on branch master.
Unverified
1e55c3e0f146baf511264b8fa6294786c402dfff

bumped to version 0.4

jjtauber committed 8 years ago
Unverified
936c1fad4e751ad9a3f8a47eecca67f51a3d34fe

bumped version to 0.3

jjtauber committed 8 years ago
Unverified
fb284439d989aa52751c797643224f8b6e3179c7

bumped license year

jjtauber committed 8 years ago
Unverified
6050e48af3139f41f7261b1ddcaec5cb9b8985b7

added Python 3.6 to test matrix

jjtauber committed 8 years ago
Unverified
6763bade244008dc37335f5581a94dd6dca83682

Create AUTHORS

jjtauber committed 8 years ago
Unverified
a63b5b3581359d758dc9f891f46aea07623bcd55

Merge pull request #6 from brilee/add_resign

jjtauber committed 8 years ago

README

The README file for this repository.

gtp

Build Status Coverage Status

Python implementation of Go Text Protocol that can interface with arbitrary game logic implementations (state and move selection), provided that it conforms to the following interface

Game logic interface

clear() : clear the board, scores, and history

make_move(color, vertex) : play a move. color is -1 for white, +1 for black. vertex is a tuple of 1-indexed (x,y) coordinates. This function should return True on success and False on any error

set_size(n) : set the size of the board to n x n. The protocol does not specify what happens to existing stones or history.

set_komi(k) : set komi value to k

get_move(c) : choose a move for color c. Returns a tuple (x,y), where (0,0) indicates a PASS