This has been tested on Ubuntu 16.04.
After you check-out the repo in directory $REPO, please:
cd $REPO
./setup.sh env
This will:
- Create a new directory $REPO/env
- Install a python virtual environment in $REPO/env and download the neccessary python modules
- Download and build Boogie and z3
- Install typescript and any other npm packages needed
Please run:
source $REPO/env/bin/activate
To activate the python virtual environment
Run: bash $REPO/build
or run make
under $REPO/src/static
.
To run the backend server with the benchmarks from the paper please run:
$REPO/src/server.py --local --port 8080 --ename foo --lvlset $REPO/unsolved.lvlset --db foo.db
For more information on arguments to the command run $REPO/src/server.py -h
. At this point you should be able to play the game
if you point your browser to localhost:8080/game.html
The frontend code is under src/static/ts
. The backend code is the python
code under src/
and sub-directories. Most of the boogie relevant code is
under src/lib/boogie
. The main server code is in src/server.py
and src/server_common.py