GithubHelp home page GithubHelp logo

gtprest's Introduction

GTPRest

This provides simple java code for connecting a GTP (Go Text Protocol) interface to the the GRS (http://goratingserver.appspot.com/).

The server uses Chinese rules, there is no negotiation for scoring (see scoring protocol below) and clock keeps running during scoring. No disconnect protection and no undo. There are no handicaps and players are paired with similar strength players to the extent possible, bots can be paired against each other.

GTP commands required from the bot.

  • final_status_list dead
  • play
  • genmove
  • kgs-genmove_cleanup

Files for communicating with the server

  • MimicKGS.jar contains the lib and src folders compiled into one jar. It can be run from command line with java -jar MimicKGS.jar to connect a GTP command line bot to the GRS. It needs the properties.ini file in the same directory for configurations.
  • properties.ini is simple configuration file for the bot. It specifies which account to use for the bot, how the bot is started (possible command line options etc), and if the bot plays blits or fast or both.

Brief explanation of the scoring protocol used.

After two consecive passes the server provides a list of dead stones. The player whose turn it is, should wait for the list of dead stones from the server, and then reply with an accept or reject move, depending on if he agrees with the estimate of dead stones. If he accepts, the other player is posed the same question. If both accept, the game is scored accordingly. After a player rejects the estimate, game continues, next time both players pass the game will be scored as if all stones on the board were alive. As chinese rules are used, no points are lost removing dead stones from the board.

gtprest's People

Contributors

typohh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.