The tak package

[ Tags: bsd2, game, library ] [ Propose Tags ]

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 server, and contributes an AI tak bot for the same server. This package provides 3 top level modules: Tak 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 provides functions for maintaining a connection to, receiving messages, and sending commands. This could be used to implement a fully-fledged game client, or a bot. PlayTakBot is a framework to make it easy to build a 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.


Dependencies base (<5), bytestring, hashable, hslogger, matrix, network, parsec, random-shuffle, safe [details]
License BSD2
Author Henry Bucklow
Category Game
Home page
Uploaded Tue Jun 7 20:17:18 UTC 2016 by HenryBucklow
Distributions NixOS:
Downloads 229 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-24 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees