A 8x8Trax playing program
JavaScript Java Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
gen/org/traxgame/droid
homepage
libs
res
src
testlibs
.classpath
.gitignore
.project
AndroidManifest.xml
GNUTRAX_LICENSE
GnuTrax.sh
Makefile
README.md
ant.properties
build.xml
custom_rules.xml
local.properties
proguard-project.txt
project.properties

README.md

GnuTrax cli

To run the cli version please use:

java -cp gnutraxgui.jar org.traxgame.cli.GnuTraxCli

GnuTrax

Run:

ant run

Create jar:

ant

Compile:

ant compile

ANDROID

To get the android to compile do you need to edit C:\adt-bundle-windows\sdk\tools\ant\build.xml and insert
at line 737 in the -compile target.

Create a file in the root of the repos called local.properties containing something like this:

sdk.dir=C:\adt-bundle-windows\sdk

where the part after sdk.dir= is the path to your android sdk install

OLD STUFF

The goal is a trax playing program which can beat the commerciel closed sourced program called "Doby".

My idea is to reach this goal in the following steps:

  1. Make a text based 8x8Trax playing program which can play well and win most of the time.
  2. Make a GUI for the program.
  3. Improve the AI for 8x8Trax
  4. Extend the program so it also can play Standard (unlimited) Trax and LoopTrax

Status: The UCT-code is currently broken. Please help fix it ( computerplayer_uct.cpp )

Command-line options: Currently gnutrax supports three options.

--uct turn on the uct-code --random the AI plays random moves --pbem the program reads from moves from standard input, computes and display the best reply and exist.

I will write a couple of documents how these goals can be reached in details.

All questions about this code just email me at: martin@linux.com and you will normally get an answer within 48 hours.

Martin M. S. Pedersen

The GUI version:

Run with:

java org.traxgame.gui.GnuTraxGui

or run the ant script in the src directory:

ant

afterwards use jar. Run from the commandline like this:

java -jar gnutraxgui.jar