Skip to content

ishehadeh/konjecture

Repository files navigation

Kōnjecture

Tools for analyzing the game Kōnane.

Getting Started

Tooling

Rust

This program is written in the Rust programming language. Official instructions to install Rust can be found at rust-lang.org/tools/install.

If you're unfamiliar with Rust, but want to take a look at the source code, the Rust Language Cheat Sheet may be helpful.

Git

If you would like to help develop the program, you also need git, which we use for version control. Installation instructions for git can be found at git-scm.com/downloads.

The main repository is hosted in GitHub. To submit patches you'll need a GitHub account.

For basic git and GitHub usage, refer to

  1. Git Basics Episode 3 - Get Going with Git
  2. Github - Get Started

Download

If you have git installed, download the source code by running

git clone [email protected]:ishehadeh/konjecture

Otherwise, you can download the source as a zip file from this here: main.zip.

Applications

Currently there is only one application: konane2canonical.

konane2canonical

This program takes a game of Konane and puts it in canonical form, using the cgt library. All games are played on a 16x16 grid.

Input: There should be a file in the program's working directory (usually you're executing it from) called konane.txt. An example of this file is included in with the source code. It should be 16 lines, each line with 16 characters, where

  • _ is an empty tile
  • x is a tile with white stone
  • o is atile with black stone

Output: Here is a list of common outputs. Note all results assume perfect strategy.

Run "konane2canonical" with the command:

cargo run --release --features cgt,rayon konane2canonical

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published