Libataxx
A C++ Ataxx library to handle move generation, move validation, and other aspects of the board game Ataxx
Install / Use
/learn @kz04px/LibataxxREADME
libataxx
A C++ library for the board game Ataxx written using bitboards. Capable of FEN parsing, move generation, board printing, and other things.
Build
git clone https://github.com/kz04px/libataxx
mkdir libataxx/build
cd libataxx/build
cmake ..
cmake --build .
Specific make targets exist:
make static
make shared
make tests
Performance
A mid range Intel i5 processor is capable of processing several hundred million nodes per second.
Limitations
Libataxx is specifically designed for Ataxx on a 7x7 board, as such, it does not support any other board size.
Usage
Some of the bit twiddling required for bitboards has been abstracted away, but at least a passing knowledge of bitwise operators is recommended. The 'examples' folder contains some basic examples.
Testing
To run the included tests, navigate to the build directory and then run:
./tests
License
Libataxx and all examples are under the MIT license.
Credits
- Catch2 -- A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later (or C++03 on the Catch1.x branch)
Related Skills
next
A beautifully designed, floating Pomodoro timer that respects your workspace.
product-manager-skills
47PM skill for Claude Code, Codex, Cursor, and Windsurf: diagnose SaaS metrics, critique PRDs, plan roadmaps, run discovery, and coach PM career transitions.
devplan-mcp-server
3MCP server for generating development plans, project roadmaps, and task breakdowns for Claude Code. Turn project ideas into paint-by-numbers implementation plans.
