Skip to content

tuor713/vindinium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vindinium Clojure bot (powering malvert)

See also blog writeup.

Strategies

The agent uses a heuristic approach combining a couple of weighted behavioural traits:

  • Breadth first search movement A 7-ply search tree to determine suitable near term options
  • Tavern finder Kicking in at life <= 35 and adjacent to a tavern, the trait weighs the path to the nearest tavern
  • Mine finder Kicking in at life >= 35, the trait weighs the path to the nearest conquerable mine
  • Combat mode When a hero is less than three moves away a strongly weighted combat mode takes over to avoid being caught in the pos+1 space and also take advantage of opponents that can be killed easily. Rules get a bit more complex to take into account adjacency to taverns, which can completely change combat math over multiple turns.

About

A Clojure Vindinium bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published