Team Trup 16 ICFPC 2011 source code
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
C.py
Makefile
README
comb.py
comb.pyc
comb_example.py
decloop.py
eval.py
eval.pyc
eval_example.py
eval_test.py
fasthelp.py
game.py
game.pyc
getnum.py
help.py
help2.py
install
ltg.linux32
main.py
meta.py
meta.pyc
newhope.py
passive.py
player.py
reviver.py
target_finder.py
target_finder.pyc
tests.py
zergrush.py
zombifier.py

README

All code written in Python so the ``run'' file is the source file. Other
files are:

	comb.py - does card combinations
	eval.py - evaluates slot fields
	game.py - some general routines
	target_finder.py - code to find next slot to attack

The strategy is following:

	- try to attack fast at the very beginning the most ``important''
	slot of the opponent; importance is calculated from the
	number of applications in slot's field
	- zombify it to destroy any prepared combination; zombie function
	then attacks opponent's slot 0
	- build general attack and help spells
	- find the next ``important'' slot and attack in a loop;
	first attack slot which number is more easy to build
	- periodically check if our slots are alive, otherwise revive
	them