MineSweeper AI for PsMonkey's GWT MineSweeper
Scala Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
CHANGES
DESIGN
LICENSE
Minei.scala
MineiPs.scala
README
TODO
build.xml
minei.jar
post-2010-09-27.yaml
post-2010-10-01.yaml
test.scala

README

# 0.1.1
# MineSweeper AI for PsMonkey's GWT MineSweeper

# --- setup for people who don't have scala installed.
> wget http://github.com/godfat/minei/raw/master/minei.jar
# the source of the jar is here:
# http://github.com/godfat/minei/blob/master/Minei.scala

# move the AI jar to war/
> mv minei.jar war/WEB-INF/lib

# get scala-library.jar
> wget http://www.scala-lang.org/downloads/distrib/files/scala-2.8.0.final.tgz
> tar -zxf scala-2.8.0.final.tgz
> mv scala-2.8.0.final/lib/scala-library.jar war/WEB-INF/lib

# --- setup for people who want to compile the source themselves.

# start GWT devmode with my build.xml, it depends on scalac task
> ant devmode

# build scala AI only
> ant scalac
# or
> ./bin/build.sh
# and run tests:
> ./bin/test.sh

# build entire application
> ant build

# paths need to be setup in build.xml
# gwt.sdk: /Users/godfat/project/fork/mine/gwt-2.0.4
# scala-library: /usr/local/lib/scala-library.jar
# scala-compiler: /usr/local/lib/scala-compiler.jar