This is the source of my bot from Halite II AI programming competition https://halite.io/user/?user_id=2559 (top 3%).
I am thankful to Two Sigma for hosting this great competition and to https://github.com/rossmacarthur for making Haskell starter kit (https://github.com/rossmacarthur/halite2-haskell-starter).