Chattax
Download tar.gz
or
Download win executable
version FR
This program is a free open source tool trying to find the solution to eternity2 puzzle problem.
(see Here for more information on the game )
As the redistribution of pieces is not allowed, you need to :
-
Buy the puzzle
-
Use the following editor to create a text file containing the puzzle pieces
-
Name this file "toutes.txt"
-
Drop this file in the directory where you built the chattax executable file
-
run chattax !!!
The program offers 4 differents running "mode", each mode is based
on the same credo : we are not going to be able to get the solution by a
brute-force method nor backtracking due to enormous necessary cpu power.
Instead chattax randomly create puzzles from the possible set of pieces and
then check if the puzzle is correct or not, so of course you need some luck ;o)
The different modes are :
- 0 : random full board & quick check
- 1 : random full board & complete check
- 2 : random border only & quick check
- 3 : random border only & complete check
NB: (quick check means that we break as soon as we detect an unmatch.)
Command line parameters are mandatory and are used to :
- Choose the operating mode : 0,1,2 or 3
- Choose the maximum loops number : (not used in mode 2 nor 3 )
- Match threshold : if the number of correct matches is greater than the
threshold, then the board is saved in a text file in the current file directory.
The filename uses the following pattern : "dumpboard_[m]_t_ts_i.txt" where :
- m is the operating mode
- t is the threshold value
- ts is a timestamp
- i is an index that increases after every dump
example : "dumpboard_[1]_158_52676843_9.txt"
Benchmark
On a Centrino Duo laptop, benchmarks gave the following results :
-
Compiled under Cygwin - Windows XP Pro SP2 - Centrino duo 1.6 Ghz - 512 MB RAM
- Mode 0: 55 000 lps (loops per second)
- Mode 1: 15 500 lps
- Mode 2: 200 000 lps
- Mode 3: 160 000 lps
Of course, the program may for sure may be optimized, to go faster, to have more
operating mode and so on, so feel free to modify it and let me know ;o)
There are also some known issue such as a bug in the lps value after a while
because the maximum value is reached.
For the windows executable, use the command prompt to launch.
License
GPL
Contact
email me : philippe_coent at yahoo dot fr
Download
Download tar.gz
or
Download windows executable
Web Stats
Visits = 


. Unique visits = 



(counters provided by hypersilence)
?>