

Stones that are online but missing from the physical board are highlighted in red. Stones that are on the physical board but not played online are highlighted in green. )Īfter you're connected to a game, the screen shows the current state of the Go board: (For example, this command will attempt to connect to. Where 12345 is replaced with the ID of your game. Once the setup is complete, you can connect to an existing game by running a command like python online_goban.py play 12345 Note that several of these settings are secret and should not be made public (for example, by committing them to a public Github repository). These settings are details in online_goban/ogs_auth.py. Here is one example of a moderate camera angle that worked well:įinally, Online Goban needs some credentials in order to connect to games and submit moves on your behalf.

This is a course project for Dan Vogel's course CS889: Applied Computer Vision for Human-Computer Interaction at the University of Waterloo.Īt a high level, this program does two things. Note: the appropriate cell codes for the borders are generated automatically by default, so you can leave these parameters blank, and fill only the position of stones, or circled empty positions.Online Goban uses a single webcam and an unmodified Go set to play games on the Online Go server. A lowercase c creates a small red circle.An hyphen or a small x creates the hoshi point.Capital letters from A to I, create the corresponding marks.Note the difference between 01 (with a leading zero) and b1. The numbering is limited to the 00-99 range for practical reasons, it is assumed that there will be a figure change at least every 100 play. Even numbers are always white, and odd numbers are always black (since black gets to make the first move of the game). These 100 tiles are used for game transcription, where the numbering goes beyond 10. They can be marked by a triangle (T) or a number from 1 to 9 (allowing short sequences).
GOBAN ONLINE SERIES
These stone series are available as black ( b) and white ( w).

NB: The last four parameters are not used in the 19×19 Goban template.
GOBAN ONLINE CODE
For instance, to draw an upper right corner, the final code is simply |u=u|r=r (and remember to place the hoshi point accordingly).

On the last line, the "24" parameter is the size of each tile (in pixels), it should preferably be even for correct centering of cells.Though a preceding space is OK, be sure not to leave a space after that code. The first parameters are one or two letters codes (sometimes three), that specify which tile is used.This template can be used to make go board, with stones and various other marks.
