MIRI Fan Club ICFP 2015 entry
Go JavaScript Python CSS HTML Shell Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gify
powerwords
qualifiers
scripts
web
.gitignore
Makefile
README
README.md
ai.go
board.go
caster.py
cell.go
chanter.sh
chanterai.go
chantmcai.go
count_test.go
game.go
io.go
lookaheadai.go
lookaheadai_test.go
main.go
main_test.go
mcai.go
node_graph.go
node_nograph.go
parse_solutions.py
print.go
render.go
repeaterai.go
scoretree.go
server.go
server_test.go
simpleai.go
solution.sh
solution_mgr.py
submit.sh
treeai.go
unit.go

README.md

Requirements

Go v1.4+

Build the binary

make

Run the binary

As an example we'll use a qualifier problem.

$ ./play_icfp2015 -f qualifiers/problem_4.json

Run the server

Start a server with some endpoints.

$ ./play_icfp2015 -serve

Profile the application

$ ./play_icfp2015 <whatever> -profile /tmp/out.pprof
$ go tool pprof -web ./play_icfp2015 /tmp/out.pprof

Graph AI's

$ go get github.com/awalterschulze/gographviz
$ make graph
$ ./play_icfp2015 ... -graph /tmp/icfp/graph