This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Ultimate Tic Tac Toe game logic (Lua and Python bindings)

Project Description

This library allows to easily create front-ends for ultimate-tic-tac-toe game. It takes care of game rules, validating the arguments, calling the right functions.

run.lua is an example how this library can be used. To try out:

tictactoelib/run.lua \
    tictactoelib/examples/dumb_player.lua \
    tictactoelib/examples/dumb_player.lua

The file takes two arguments: Lua files, which implement a player. tictactoelib/examples/dumb_player.lua is a demo player which marks a first available slot. Command-line example above makes it fight with itself.

See comments in tictactoelib/examples/dumb_player.lua how to implement a player (it could also be something that takes events from UI).

For human-readable game rules, see ultimate-tic-tac-toe’s website.

Compatibility

Library is written in pure Lua, is tested to be compatible with Lua5.1, Lua5.2 and luajit.

Release History

Release History

This version
History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

History Node

0.0.4

History Node

0.0.3

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tictactoelib-0.2.4.tar.gz (13.8 kB) Copy SHA256 Checksum SHA256 Source Apr 28, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting