Skip to content

Instantly share code, notes, and snippets.

@egisatoshi
Created July 20, 2012 08:17
Show Gist options
  • Save egisatoshi/3149513 to your computer and use it in GitHub Desktop.
Save egisatoshi/3149513 to your computer and use it in GitHub Desktop.
icfpc2012 simulator in Egison2.3.3
% cd sample/icfpc2012/
% egisonc mine.egi
[1 of 1] Compiling Main ( _tmp.hs, _tmp.o )
Linking mine ...
% ./mine maps/contest1.map
######
#. *R#
# \.#
#\ * #
L .\#
######
robot-state: <normal>
lambda-count: 0
score: 0
command: L
######
#. R #
# *\.#
#\ * #
L .\#
######
robot-state: <normal>
lambda-count: 0
score: -1
command:
,..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment