Skip to content

mk0x9/ants-haskell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell starter bot for the 2011 Google AI Challenge - Ants

Reimplement the doTurn function in MyBot.hs, just don't change its signature.
Look in Ants.hs to see what data is available from GameParams and GameState.

To compile, simply run from the command line
> ghc --make -O MyBot

You may check for updates from the following repository.
https://github.com/qacek/ants-haskell

Invoke ghc with optimizations turned on with the -O flag. This eliminates
unnecessary copying of arrays, see unsafeFreeze and unsafeThaw at
http://hackage.haskell.org/packages/archive/array/latest/doc/html/Data-Array-MArray.html#7

About

Ants starter bot in Haskell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%