Git Product home page Git Product logo

aaaarghbot's Introduction

Installation

Install Golang.

Place the contents of this package in a folder that is neither in the GOROOT or GOPATH.

Install the golang.org/x/net/context package.

Programs

There are several commands included under the cmd directory. All commands accept -help to list flags, but are otherwise minimally documented at present. Note that many flags are left over from Taktician and currently have no effect.

cmd/playtak

A simple interface to play tak on the command line. To play black run:

go run main.go

To play white run:

go run main.go -white=human -black=minimax:5

cmd/analyzetak

A program that reads PTN files and performs AI analysis on the terminal position.

analyzetak FILE.ptn

cmd/taklogger

A bot that connects to playtak.com and logs all games it sees in PTN format.

cmd/taktician

The AI driver for playtak.com.

Compile with:

go build

Can be used via:

taktician -user USERNAME -pass PASSWORD

Variables that control the behaviour can generally be found in the cmd/taktician/main.go and cmd/taktician/taktician.go files.

Only board sizes 5 and 6 are available. Depth is the primary method of adjusting strength, for reasonable performance generally don't go above depth 3 at size 6, and depth 4 at size 5. t.ai.Diversify sets the random component of evaluation, going below 100 runs a risk of making the AI too predictable, higher values makes the AI more random, and weaker.

aaaarghbot's People

Contributors

nohatcoder avatar

Stargazers

Clayton Howeth avatar

Watchers

 avatar

Forkers

innoviox

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.