Overview

HTTPS SSH

Haskell Tak library & AI

Tak is a new abstract strategy game, devised by James Earnest (of Cheapass
Games), and Patrick Rothfuss, author of The Wise Man's Fear, where the game of
Tak was first mentioned.

This is a library which encodes the rules of Tak, provides a client for the
popular playtak.com server, and contributes an AI tak bot for the same server.

Tak

This encodes the rules of Tak, as a game tree, containing all possible moves.
This tree is extremely large, so be careful not to strictly evaluate it!

PlayTak

This provides functions for maintaining a connection to playtak.com, receiving
messages, and sending commands. This could be used to implement a
fully-fledged game client, or a playtak.com bot.

PlayTakBot

This is a framework to make it easy to build a playtak.com bot. It will
maintain a connection, seek games, and create a game tree. The bot implementor
just needs to provide functions to evaluate a game state, and choose the next
play from each game state.

Takky

Takky is a simple bot, using a modest lookahead of 4 plies, and a heuristic
based purely on territory owned. It hangs around on playtak.com, providing a
moderate challenge to new and intermediate players.

Tak resources