Skip to content

riksa/clj-waltawa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# clj-waltawa

AI entry for http://www.ohjelmointiputka.net/kilpa.php?tunnus=valtapeli

## Usage

install leiningen and run with
lein trampoline run

or build a jar and run it with
lein uberjar
java -jar clj-waltawa-1.0.0-SNAPSHOT-standalone.jar

## Defensive "algo"
tries to surround the regions occupied by the invader with a zig-zag pattern.
prioritizes biggest regions,
prioritizes moves that are at the center of the map

## Offensive "algo"
tries to expand regions already occupied
prioritizes biggest regions,
prioritizes moves that are at the center of the map

## License

Copyright (C) 2013 riku salkia <riksa@iki.fi>

Distributed under the Eclipse Public License, the same as Clojure.

About

clojure testi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published