Skip to content

MartinMSPedersen/GnuTrax

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
res
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages