Skip to content

Play Go at playok.com or online-go.com via GNU Go or Pachi

Notifications You must be signed in to change notification settings

maksimKorzh/go-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Bot

Play Go at playok.com or online-go.com via GNU Go, Pachi, Katago

How it works?

Python script takes a screenshot, finds the coordinates of the last move made on board and then sends it to the GTP engine (GnuGo or Pachi) subprocess to sync the board, then the engine comes up with a move which is then converted to screen coordinates where the mouse pointer is going to be placed and the click event would get triggered.

How to use it?

First you need to have python, deps and GTP Go engines being installed on your system, next you have to calibrate the script parameters to match your actual screen size/board placement, finally you can assign the side to play to the script and enjoy the game.

CALIBRATE:
python3 playok-gnugo.py or python3 playok-pachi.py
python3 ogs-gnugo.py or python3 ogs-pachi.py

PLAY:
python3 playok-gnugo.py white or python3 playok-gnugo.py black
python3 playok-katago.py white or python3 playok-katago.py black

python3 ogs-pachi.py white or python3 ogs-pachi.py black

COACH (suggests moves for both sides using Pachi):
python3 playok-coach.py

ESTIMATOR (estimates score using Pachi):
python3 playok-estimator.py

See it in action!

IMAGE ALT TEXT HERE

About

Play Go at playok.com or online-go.com via GNU Go or Pachi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages