ICFP Programming Contest 2014
C++ Shell Haskell Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Makefile add lightning submit Aug 8, 2015
gen-solution.hs iro iro Aug 10, 2015
gen.hs proto impl Aug 8, 2015
icfp2015-full.tar.gz add submitted file Aug 10, 2015
icfp2015-lightning.tar.gz add lightning submit Aug 8, 2015
picojson.h proto impl Aug 8, 2015
submit.sh proto impl Aug 8, 2015
words add words Aug 10, 2015


# ICFP Contest 2015 Submission

* main.cpp

    main solver

* *.hs


The solver use feature of board, such as highest block, number of holes, narrow position and so on.
Using feature, caluculate the score of board and choose best move for each unit.
The weights of feature are determined by simulated annealing.

I found these phrases of power:

- ei!
- r'lyeh
- ia! ia!
- yuggoth
- planet 10
- tsathoggua
- yogSothoth
- john bigboote
- cthulhu fhtagn!
- Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.

and the solver try to inject these word as much as possible.
When unit pops and any word can place the position,
it always place the word unless it is on too high place.