Skip to content
ICFP Programming Contest 2014
C++ Shell Haskell Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
out
problems
LICENSE
Makefile
README
exec.sh
gen-solution.hs
gen.hs
icfp2015-full.tar.gz
icfp2015-lightning.tar.gz
main.cpp
maketar.sh
picojson.h
submit.sh
words

README

# ICFP Contest 2015 Submission

* main.cpp

    main solver

* *.hs

    utility

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.
You can’t perform that action at this time.