Skip to content

UCSD-PL/inv-gen-game-chi18

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inv-gen-game-chi18

Prerequisites

This has been tested on Ubuntu 16.04.

Installation

After you check-out the repo in directory $REPO, please:

cd $REPO
./setup.sh env

This will:

  1. Create a new directory $REPO/env
  2. Install a python virtual environment in $REPO/env and download the neccessary python modules
  3. Download and build Boogie and z3
  4. Install typescript and any other npm packages needed

Before you start working/running

Please run:

source $REPO/env/bin/activate

To activate the python virtual environment

Building

Run: bash $REPO/build or run make under $REPO/src/static.

Running

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

Directories

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published